This repository has been archived on 2024-03-28. You can view files and clone it, but cannot push or open issues or pull requests.
dotfiles/env/desktop/config.fish
2020-01-23 09:51:03 -06:00

14 lines
295 B
Fish
Executable file

#!/usr/bin/env fish
# TODO: completion
function src-hidden-dir
not scount $argv && echo "No directory specified" && exit 1
set f $ENV_PATH/.hidden/fish.d/$argv[1]/config.fish
echo "Checking $f..."
test -f $f && source $f
end
set hc $ENV_PATH/.hidden/config.fish
test -f $hc && source $hc