Directly from CLI
alias x='exit'
funcsave x
or create a file in
~/.config/fish/functions
with name
homestead.fish
and put
function homestead
set DIR $PWD
cd ~/Homestead
eval vagrant $argv
cd $DIR
end
Directly from CLI
alias x='exit'
funcsave x
or create a file in
~/.config/fish/functions
with name
homestead.fish
and put
function homestead
set DIR $PWD
cd ~/Homestead
eval vagrant $argv
cd $DIR
end
e.g:
alias co='git checkout'
funcsave co
then i can do:
git checkout master
with just:
co master
Thanks, man!!
sweet!
awesome thank you!
Nice!
this is great! thanks!!