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/laptop/config.fish
2020-01-28 12:09:05 -06:00

12 lines
298 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