1
0
Fork 0
mirror of synced 2024-12-28 00:43:20 -05:00
zimfw/modules/git/functions/git-ignore-add

7 lines
194 B
Text
Raw Normal View History

# vim:et sts=2 sw=2 ft=zsh
local git_root
git_root=$(git-root) || return 1
2015-12-15 00:12:17 -05:00
# we are in a git repository. add parameters to .gitignore
for file (${@}) print ${file} >>! "${git_root}/.gitignore"