Last active
October 8, 2021 21:48
-
-
Save costa86/df0c3e64b417ffed279f5f1ef527b233 to your computer and use it in GitHub Desktop.
fish shell - define aliases and functions
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
fish | |
1.Create ~/.config/fish/config.fish | |
2.Set aliases here | |
3.Restart fish | |
---------- | |
One-line solution for defining and saving an alias (for example): alias cl 'clear' -s. Instantly works across all sessions and is persisted. | |
Navigate to the ~/.config/fish/functions/ and you'll see cl.fish file. | |
------------------ | |
Functions in this dir are auto-loaded |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment