Skip to content

Instantly share code, notes, and snippets.

@ikbelkirasan
Created September 19, 2020 16:55
Show Gist options
  • Save ikbelkirasan/c2f98b76cef7010ee774b544129ddfcd to your computer and use it in GitHub Desktop.
Save ikbelkirasan/c2f98b76cef7010ee774b544129ddfcd to your computer and use it in GitHub Desktop.
Autoload fish functions and env variables per directory
function load_local_fish_functions --on-variable PWD
if test -e .autoload.fish
source ./.autoload.fish
end
end
load_local_fish_functions
@ikbelkirasan
Copy link
Author

File: ~/.config/fish/config.fish

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