mirror of https://github.com/jarun/nnn.git
Fix bug caused by typo
Previously one couldn't open if single file was selected, this commit fixes that.
This commit is contained in:
parent
03af623f10
commit
b27a2a6bc8
|
@ -19,8 +19,8 @@ if [ -s "$sel" ]; then
|
|||
|
||||
no_of_files=${#targets[@]}
|
||||
|
||||
# Open only if > 1 file
|
||||
if (( no_of_files > 1 ))
|
||||
# Open if at least one file
|
||||
if (( no_of_files > 0 ))
|
||||
then
|
||||
$OPENER -p "${targets[@]}"
|
||||
fi
|
||||
|
|
Loading…
Reference in New Issue