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

21 行
467 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. # Requires fzy.
  7. #
  8. # Shell: POSIX compliant
  9. # Author: Arun Prakash Jana
  10. IFS=':'
  11. get_selection() {
  12. ls -H $PATH | sort | fzy
  13. }
  14. if selection=$( get_selection ); then
  15. setsid "$selection" 2>/dev/null 1>/dev/null &
  16. fi