scripts/applications/fish

32 lines
537 B
Plaintext
Raw Normal View History

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
2019-06-18 04:55:36 -07:00
function rebuild
$HOME/src/scripts/rebuild.rkt
end
function cheat.sh
curl cheat.sh/$argv
end
complete -c cheat.sh -xa '(curl -s cheat.sh/:list)'
## EOF