1
0
mirror of https://github.com/chubin/cheat.sh.git synced 2026-06-20 21:26:44 +02:00
Files
cheat.sh/share/fish.txt
T
2017-05-30 19:18:25 +00:00

13 lines
326 B
Plaintext

# add it to your ~/.config/fish/config.fish
# retrieve command cheat sheets from cheat.sh
# fish version by @tobiasreischmann
function cheat.sh
curl cheat.sh/$argv
end
# register completions (on-the-fly, non-cached, because the actual command won't be cached anyway
complete -c cheat.sh -xa '(curl -s cheat.sh/:list)'