This website works better with JavaScript.
Home
Explore
Help
Sign In
Immanuel
/
nnn
Watch
1
Star
0
Fork
0
Code
Issues
0
Pull Requests
0
Releases
0
Wiki
Activity
Browse Source
Update quitcd snippet for 'fish'
master
Pavel Fokin
5 years ago
parent
34ecf3ce13
commit
56b6f70634
1 changed files
with
2 additions
and
2 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+2
-2
misc/quitcd/quitcd.fish
+ 2
- 2
misc/quitcd/quitcd.fish
View File
@@ -3,11 +3,11 @@
# or, add the lines to the 'config.fish' file.
function n --description 'support nnn quit and change directory'
nnn $argv
# NOTE: set NNN_TMPFILE correctly if you use 'XDG_CONFIG_HOME'
set NNN_TMPFILE ~/.config/nnn/.lastd
nnn $argv
if test -e $NNN_TMPFILE
source $NNN_TMPFILE
rm $NNN_TMPFILE
Write
Preview
Loading…
Cancel
Save