From: Joni Salmi Date: Mon, 26 Nov 2018 12:21:59 +0000 (+0200) Subject: Replace single dot with source for fish shell X-Git-Tag: v2.2~119^2 X-Git-Url: http://www.git.stargrave.org/?a=commitdiff_plain;h=2623f688f2773603c2ac15e1b71c49ce438eb077;p=nnn.git Replace single dot with source for fish shell Single dot has been deprecated and can cause issues with users on newer version: https://github.com/fish-shell/fish-shell/issues/310 --- diff --git a/scripts/quitcd/quitcd.fish b/scripts/quitcd/quitcd.fish index 079f33e2..e7eec5e1 100644 --- a/scripts/quitcd/quitcd.fish +++ b/scripts/quitcd/quitcd.fish @@ -4,7 +4,7 @@ function n --description 'support nnn quit and change directory' nnn $argv if test -e $NNN_TMPFILE - . $NNN_TMPFILE + source $NNN_TMPFILE rm $NNN_TMPFILE end end