Skip to content

Commit 737b6e7

Browse files
committed
Fix .kshrc sourcing error "'&>file' is nonstandard"
1 parent 9e9ffa0 commit 737b6e7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

virtualenvwrapper.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -593,7 +593,7 @@ function _lsvirtualenv_usage {
593593
function lsvirtualenv {
594594

595595
typeset long_mode=true
596-
if command -v "getopts" &> /dev/null
596+
if command -v "getopts" >/dev/null 2>&1
597597
then
598598
# Use getopts when possible
599599
OPTIND=1

0 commit comments

Comments
 (0)