FISH: Configuration pour ce nouveau SHELL (en cours de test)

This commit is contained in:
2020-04-26 17:23:28 +02:00
parent ab2f042909
commit bd1041a3f6
12 changed files with 463 additions and 0 deletions

View File

@ -0,0 +1,24 @@
#!/usr/bin/fish
#
# ▄▄▌ ▐ ▄▌·▄▄▄▄
# ██· █▌▐███▪ ██
# ██▪▐█▐▐▌▐█· ▐█▌
# ▐█▌██▐█▌██. ██
# ▀▀▀▀ ▀▪▀▀▀▀▀•
#
# wrapper for: fish
#
# place in:
# ~/.config/fish/functions/wd.fish
#
# @github.com/mfaerevaag/wd-c
function wd -d 'warp directory'
if set output (_wd $argv)
cd $output
else
for line in $output
echo $line
end
end
end