Browse Source

Add forgotten export for quitcd scripts

master
Pavel Fokin 5 years ago
parent
commit
17bb57263c
3 changed files with 3 additions and 3 deletions
  1. +1
    -1
      misc/quitcd/quitcd.bash
  2. +1
    -1
      misc/quitcd/quitcd.fish
  3. +1
    -1
      misc/quitcd/quitcd.zsh

+ 1
- 1
misc/quitcd/quitcd.bash View File

@@ -1,6 +1,6 @@
n() n()
{ {
NNN_TMPFILE=${XDG_CONFIG_HOME:-$HOME/.config}/nnn/.lastd
export NNN_TMPFILE=${XDG_CONFIG_HOME:-$HOME/.config}/nnn/.lastd


nnn "$@" nnn "$@"




+ 1
- 1
misc/quitcd/quitcd.fish View File

@@ -4,7 +4,7 @@


function n --description 'support nnn quit and change directory' function n --description 'support nnn quit and change directory'
# NOTE: set NNN_TMPFILE correctly if you use 'XDG_CONFIG_HOME' # NOTE: set NNN_TMPFILE correctly if you use 'XDG_CONFIG_HOME'
set NNN_TMPFILE ~/.config/nnn/.lastd
set -x NNN_TMPFILE ~/.config/nnn/.lastd


nnn $argv nnn $argv




+ 1
- 1
misc/quitcd/quitcd.zsh View File

@@ -1,6 +1,6 @@
n() n()
{ {
NNN_TMPFILE=${XDG_CONFIG_HOME:-$HOME/.config}/nnn/.lastd
export NNN_TMPFILE=${XDG_CONFIG_HOME:-$HOME/.config}/nnn/.lastd


nnn "$@" nnn "$@"




Loading…
Cancel
Save