fix fzf bookmarks plugin environment variable (#756)

* fix fzf bookmarks plugin environment variable

* fix for POSIX
This commit is contained in:
Placido Fernandez 2020-10-13 12:20:28 +00:00 committed by GitHub
parent 1b1842c354
commit ed53c54ba2
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -25,7 +25,9 @@
# Shell: POSIX compliant
# Author: Todd Yamakawa
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