My build of nnn with minor changes
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

nlaunch 374 B

1234567891011121314151617
  1. #!/usr/bin/env sh
  2. # Description: Fuzzy find executables in $PATH and launch an application
  3. # stdin, stdout, stderr are suppressed so CLI utilities exit silently
  4. #
  5. # Shell: POSIX compliant
  6. # Author: Arun Prakash Jana
  7. IFS=':'
  8. get_selection() {
  9. ls -H $PATH | sort | fzy
  10. }
  11. if selection=$( get_selection ); then
  12. "$selection" 2>/dev/null 1>/dev/null &
  13. fi