scripts/terminal/fish

24 lines
427 B
Plaintext

if status is-interactive
and not status is-login
and test -z "$TMUX"
exec tmux new-session
end
function fish_prompt
echo (set_color purple)"$hostname% "
end
function fish_right_prompt
echo (set_color green)(pwd)
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