fish: add cheat.sh function

master
an 2019-06-18 07:55:36 -04:00
parent 08f9816dcd
commit 2bcda84071
1 changed files with 9 additions and 1 deletions

View File

@ -18,6 +18,14 @@ function fish_greeting
awk -f ~/src/scripts/mid.awk col=$COLUMNS
end
alias rebuild $HOME/src/scripts/rebuild.rkt
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