Silenced meaningless find error; added mssqlcli config

This commit is contained in:
Wryn Wagner 2020-09-21 22:52:03 -06:00
parent 41cf06fdda
commit 3086c4f372

6
setup
View File

@ -115,7 +115,7 @@ function CONFIG__PGCLI() {
echo "linked pgcli configuration"; echo "linked pgcli configuration";
} }
function CONFIG__PGCLI() { function CONFIG__MSSQLCLI() {
CONFIG__SYMLINK "mssqlcli" "config"; CONFIG__SYMLINK "mssqlcli" "config";
echo "linked mssqlcli configuration"; echo "linked mssqlcli configuration";
} }
@ -186,8 +186,8 @@ function CLEAN_BACKUP() {
case $yn in case $yn in
[Yy]* ) [Yy]* )
echo 'cleaning backup files'; echo 'cleaning backup files';
for file in $(find "$HOME/.config/" -name \*.bak); do rm $file; done for file in $(find "$HOME/.config/" -name \*.bak 2>/dev/null); do rm $file; done
for file in $(find "$HOME" -name .\*.bak); do rm $file; done for file in $(find "$HOME" -name .\*.bak 2>/dev/null); do rm $file; done
;; ;;
* ) echo 'skipping cleanup';; * ) echo 'skipping cleanup';;
esac esac