dotfiles/shells/fish/functions/gitignore_fisher_functions.fish

11 lines
296 B
Fish

function gitignore_fisher_functions
set functions_path ~/.config/fish/functions/
if not test -e $functions_path
echo "Functions directory not found"
else
cd $functions_path
find * -type l > .gitignore
echo "fisher.fish" >> .gitignore
cd -
end
end