diff options
| author | 2017-06-06 21:37:16 +0530 | |
|---|---|---|
| committer | 2017-06-06 23:32:40 +0530 | |
| commit | 6a9640afdf07769c9be891cfae6660179b403db3 (patch) | |
| tree | 88cf11c83db8f6dea2f96746e865c9b26bbba421 /nlay | |
| parent | f52367a48168f95545bc15148b58076ce56155f8 (diff) | |
| download | nnn-6a9640afdf07769c9be891cfae6660179b403db3.tar.gz | |
Exit once an app is found. Help, doc updates.
Diffstat (limited to 'nlay')
| -rwxr-xr-x | nlay | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -88,5 +88,6 @@ fi for index in ${!app[@]} do type -P ${app[$index]} &>/dev/null && - eval ${app[$index]} ${opts[$index]} "\"$1\"" ${bg[$index]} + eval ${app[$index]} ${opts[$index]} "\"$1\"" ${bg[$index]} && + break done |