Sfoglia il codice sorgente

fix fzf bookmarks plugin environment variable (#756)

* fix fzf bookmarks plugin environment variable

* fix for POSIX
master
Placido Fernandez GitHub 4 anni fa
parent
commit
ed53c54ba2
Non sono state trovate chiavi note per questa firma nel database ID Chiave GPG: 4AEE18F83AFDEB23
1 ha cambiato i file con 3 aggiunte e 1 eliminazioni
  1. +3
    -1
      plugins/bookmarks

+ 3
- 1
plugins/bookmarks Vedi File

@@ -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
Loading…
Annulla
Salva