1
0
mirror of https://github.com/dcarrillo/prezto.git synced 2025-06-14 21:51:42 +00:00

Save line length by combining enhanced brackets.

This commit is contained in:
Sorin Ionescu
2012-01-27 14:48:33 -05:00
parent a22b49ee57
commit 6c17340c59
3 changed files with 7 additions and 7 deletions

View File

@ -15,7 +15,7 @@ EOF
fi
remove_archive=1
if [[ "$1" == "-r" ]] || [[ "$1" == "--remove" ]]; then
if [[ "$1" == "-r" || "$1" == "--remove" ]]; then
remove_archive=0
shift
fi

View File

@ -11,7 +11,7 @@ Report bugs to <sorin.ionescu@gmail.com>.
EOF
fi
if [[ "$1" == "-v" ]] || [[ "$1" == "--verbose" ]]; then
if [[ "$1" == "-v" || "$1" == "--verbose" ]]; then
verbose=0
shift
fi