[zsh] Fix some coding amateur hour in the *_path functions
This commit is contained in:
parent
dd7de9628e
commit
21ebcac9d5
3 changed files with 8 additions and 8 deletions
|
|
@ -9,11 +9,11 @@ init_path() {
|
|||
case $opt in
|
||||
"v") should_be_verbose=1;;
|
||||
"+v") should_be_verbose=0;;
|
||||
*) >&2 echo "$0: unknown option '$opt'" ;;
|
||||
*) ;;
|
||||
esac
|
||||
done
|
||||
|
||||
local verbose_flag
|
||||
local verbose_flag=''
|
||||
if (( $should_be_verbose )); then
|
||||
verbose_flag='-v'
|
||||
fi
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue