diff options
| author | 2019-12-09 18:36:48 +0530 | |
|---|---|---|
| committer | 2019-12-09 18:36:48 +0530 | |
| commit | 885cfd47345017ca8524c259e53949312360fc8f (patch) | |
| tree | 367464beb26ff93da9e5c48c231159122ba88dbb /plugins/launch | |
| parent | 9614fec13ba9b1363d5845f862384ed4018f2d4b (diff) | |
| download | nnn-885cfd47345017ca8524c259e53949312360fc8f.tar.gz | |
Support both fzf and fzy
Diffstat (limited to 'plugins/launch')
| -rwxr-xr-x | plugins/launch | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/launch b/plugins/launch index 018aca3..0444e91 100755 --- a/plugins/launch +++ b/plugins/launch @@ -9,7 +9,7 @@ # # xfce4-terminal -e "${XDG_CONFIG_HOME:-$HOME/.config}/nnn/plugins/launch # -# Requires: fzf or fzy +# Requires: fzf/fzy # # Usage: launch [delay] # delay is in seconds, if omitted launch waits for 1 sec @@ -25,7 +25,7 @@ IFS=':' get_selection() { if which fzf >/dev/null 2>&1; then - { IFS=':'; ls -H $PATH; } | sort | fzy + { IFS=':'; ls -H $PATH; } | sort | fzf elif which fzy >/dev/null 2>&1; then { IFS=':'; ls -H $PATH; } | sort | fzy else |