Improve exclude pattern for dotfile deployment
This commit is contained in:
1 parent
8e06c58a4e
commit
7278f623b4
1 file changed
+1
-1
@@ -4,7 +4,7 @@ echo "Deploying dotfiles..."
|
|||||||
|
|
||||||
pushd $HOME &> /dev/null
|
pushd $HOME &> /dev/null
|
||||||
|
|
||||||
FILES=($(ls -p .dotfiles | grep -v / | grep -v deploy))
|
FILES=($(ls -p .dotfiles | egrep -v "/\$|\\.sh|TODO"))
|
||||||
|
|
||||||
for file in ${FILES[@]}; do
|
for file in ${FILES[@]}; do
|
||||||
mv .$file .${file}.bak
|
mv .$file .${file}.bak
|
||||||
|
|||||||
Reference in new issue
Block a user