Browse Source

fix fzf bookmarks plugin environment variable (#756)

* fix fzf bookmarks plugin environment variable

* fix for POSIX
master
Placido Fernandez GitHub 4 years ago
parent
commit
ed53c54ba2
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 1 deletions
  1. +3
    -1
      plugins/bookmarks

+ 3
- 1
plugins/bookmarks View 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…
Cancel
Save