Skip to content

Instantly share code, notes, and snippets.

@tikolakin
Last active October 3, 2024 14:06
Show Gist options
  • Save tikolakin/d59b4fc87c0af9720d0d to your computer and use it in GitHub Desktop.
Save tikolakin/d59b4fc87c0af9720d0d to your computer and use it in GitHub Desktop.
Create alias in Fish shell and save this as a permanent function

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
@liam-bh
Copy link

liam-bh commented Apr 21, 2021

awesome thank you!

@sssjorsss
Copy link

Nice!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment