2019-06-10 19:16:40 -07:00
|
|
|
if status is-interactive
|
|
|
|
and not status is-login
|
|
|
|
and test -z "$TMUX"
|
|
|
|
|
|
|
|
exec tmux new-session
|
|
|
|
end
|
|
|
|
|
|
|
|
function fish_prompt
|
2019-06-10 20:30:49 -07:00
|
|
|
echo (set_color purple)"$hostname% "
|
|
|
|
end
|
|
|
|
|
|
|
|
function fish_right_prompt
|
|
|
|
echo (set_color green)(pwd)
|
2019-06-10 19:16:40 -07:00
|
|
|
end
|
|
|
|
|
|
|
|
function fish_greeting
|
|
|
|
echo "Word of the moment: "(shuf -n1 /usr/share/dict/words) |
|
|
|
|
awk -f ~/src/scripts/mid.awk col=$COLUMNS
|
|
|
|
end
|
|
|
|
|
|
|
|
alias rebuild $HOME/src/scripts/rebuild.sh
|
|
|
|
|
|
|
|
## EOF
|