From df25a4e8333622bc447dbf22970cf0a34c858b24 Mon Sep 17 00:00:00 2001 From: Mahmoud Al-Qudsi Date: Thu, 14 Sep 2017 14:48:00 -0500 Subject: [PATCH] Fix fish installation on fish 3.x fish has dropped the . command from fish 3.x (and it has been deprecated in 2.x for a long time). autojump should use `source` instead `.` (no other change is needed). --- install.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/install.py b/install.py index a44fecc..b9277a9 100755 --- a/install.py +++ b/install.py @@ -161,7 +161,7 @@ def show_post_installation_message(etc_dir, share_dir, bin_dir): else: if get_shell() == 'fish': aj_shell = '%s/autojump.fish' % share_dir - source_msg = 'if test -f %s; . %s; end' % (aj_shell, aj_shell) + source_msg = 'if test -f %s; source %s; end' % (aj_shell, aj_shell) rcfile = '~/.config/fish/config.fish' else: aj_shell = '%s/autojump.sh' % etc_dir