Skip to content

Instantly share code, notes, and snippets.

@tikolakin
Last active May 2, 2024 14:21
Show Gist options
  • Star 73 You must be signed in to star a gist
  • Fork 10 You must be signed in to fork a gist
  • 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
@sssjorsss
Copy link

Nice!

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