diff --git a/.gitignore b/.gitignore index 58b4e4c0..9f29bbef 100644 --- a/.gitignore +++ b/.gitignore @@ -3,3 +3,4 @@ test/results/ test/try_workspace/ *~ .vagrant/ +.vagrant diff --git a/completions/try.bash b/completions/try.bash index 150faef8..faedb84f 100644 --- a/completions/try.bash +++ b/completions/try.bash @@ -19,7 +19,7 @@ _try() { (try) opts="-n -y -v -h -i -D -U summary commit explore" if [[ ${cur} == -* || ${COMP_CWORD} -eq 1 ]] - then + then COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) return 0 fi diff --git a/scripts/lint.sh b/scripts/lint.sh index 8c785a4b..712e83bf 100755 --- a/scripts/lint.sh +++ b/scripts/lint.sh @@ -93,7 +93,7 @@ tabs() { if [ "$#" -eq 0 ] then - FILES=$(find . -type f -a \( \! -path "./.git/*" \) -a \! \( -name "*.png" -o -name "*.gif" -o -name "*.gz" \)) + FILES=$(find . -type f -a \( \! -path "./.git/*" \) -a \( \! -path "./.vagrant/*" \) -a \! \( -name "*.png" -o -name "*.gif" -o -name "*.gz" \)) else # shellcheck disable=SC2124 FILES="$@"