My build of nnn with minor changes
選択できるのは25トピックまでです。 トピックは、先頭が英数字で、英数字とダッシュ('-')を使用した35文字以内のものにしてください。
 
 
 
 
 
 

19 行
429 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. # Works as an independent app launcher.
  5. #
  6. # Shell: POSIX compliant
  7. # Author: Arun Prakash Jana
  8. IFS=':'
  9. get_selection() {
  10. ls -H $PATH | sort | fzy
  11. }
  12. if selection=$( get_selection ); then
  13. "$selection" 2>/dev/null 1>/dev/null &
  14. fi