From 8bb3d6460c4fe402cab73389b7c4c8bf699a0eba Mon Sep 17 00:00:00 2001 From: Profpatsch Date: Fri, 10 Feb 2017 19:07:14 +0100 Subject: modules/fish/fasd: fix fish script bug The function invocation apparently got less lenient, the function name *must* come first now, before any arguments. --- modules/programs/fish/fasd.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'modules/programs') diff --git a/modules/programs/fish/fasd.nix b/modules/programs/fish/fasd.nix index c3386568..ce00d320 100644 --- a/modules/programs/fish/fasd.nix +++ b/modules/programs/fish/fasd.nix @@ -16,7 +16,7 @@ in programs.fish = { interactiveShellInit = let fasd = "${pkgs.fasd}/bin/fasd"; in '' - function -e fish_preexec _run_fasd + function _run_fasd -e fish_preexec ${fasd} --proc (${fasd} --sanitize "$argv") > "/dev/null" 2>&1 end function z --description "Jump to folder by usage frequency" -- cgit 1.4.1