My build of nnn with minor changes
Nelze vybrat více než 25 témat Téma musí začínat písmenem nebo číslem, může obsahovat pomlčky („-“) a může být dlouhé až 35 znaků.
 
 
 
 
 
 

18 řádky
374 B

  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