scripts/scripts/fish/prompt

27 lines
528 B
Fish

# vim: syntax=fish:
function fish_prompt
echo -n (set_color 70a9ff)(date +%H:%M:%S)
echo -n (set_color normal)@
echo -n (set_color c792ea)$hostname
echo (set_color normal)"% "
end
function fish_right_prompt
echo -n (set_color c3e88d)(pwd)
echo (set_color normal)
end
function fish_greeting
if test -f /usr/share/dict/words && test (what shuf)
set_color c50ed2
echo "Word of the moment: "(shuf -n1 /usr/share/dict/words) |
awk -f $_agw_dir_scripts/text/mid.awk col=$COLUMNS
set_color normal
end
end
## EOF