Kaynağa Gözat

fix fzf bookmarks plugin environment variable (#756)

* fix fzf bookmarks plugin environment variable

* fix for POSIX
master
Placido Fernandez GitHub 4 yıl önce
ebeveyn
işleme
ed53c54ba2
Veri tabanında bu imza için bilinen anahtar bulunamadı GPG Anahtar Kimliği: 4AEE18F83AFDEB23
1 değiştirilmiş dosya ile 3 ekleme ve 1 silme
  1. +3
    -1
      plugins/bookmarks

+ 3
- 1
plugins/bookmarks Dosyayı Görüntüle

@@ -25,7 +25,9 @@
# Shell: POSIX compliant
# Author: Todd Yamakawa

BOOKMARKS_DIR="${XDG_CACHE_HOME:-$HOME/.cache}/nnn/bookmarks"
if [ -z "$BOOKMARKS_DIR" ]; then
BOOKMARKS_DIR="${XDG_CACHE_HOME:-$HOME/.cache}/nnn/bookmarks"
fi

# Check if NNN_PIPE is set
if [ -z "$NNN_PIPE" ]; then


||||||
x
 
000:0
Yükleniyor…
İptal
Kaydet