瀏覽代碼

Example to integrate fzy using custom script

master
Arun Prakash Jana 7 年之前
父節點
當前提交
41532ef002
沒有發現已知的金鑰在資料庫的簽署中 GPG 金鑰 ID: A75979F35C080412
共有 1 個檔案被更改,包括 8 行新增2 行删除
  1. +8
    -2
      README.md

+ 8
- 2
README.md 查看文件

@@ -418,9 +418,9 @@ Note that you may want to keep quotes disabled in this case.

#### run a custom script

Export the path to the custom script:
Export the path to the custom executable script:

export NNN_SCRIPT=/usr/local/bin/script.sh
export NNN_SCRIPT=/usr/local/bin/nscript

Sample script to open image files in current dir in sxiv:

@@ -428,6 +428,12 @@ Sample script to open image files in current dir in sxiv:

sxiv -q * >/dev/null 2>&1

Sample (fish shell) script to fuzzy find files in fzy and open with xdg-open:

#!/usr/bin/env sh

xdg-open (find -type f | fzy) > /dev/null 2>&1

Press <kbd>R</kbd> to run the script in the current directory.

#### change dir color


Loading…
取消
儲存