From 10135e6f411b143dff4cf605ef382a6308a33675 Mon Sep 17 00:00:00 2001 From: Vladimír Čunát Date: Sun, 29 Nov 2015 12:00:22 +0100 Subject: fish: use absolute path to clear when pressing ^L It was unable to find `clear` for me. /cc maintainer @ocharles. --- pkgs/shells/fish/default.nix | 2 ++ 1 file changed, 2 insertions(+) (limited to 'pkgs/shells') diff --git a/pkgs/shells/fish/default.nix b/pkgs/shells/fish/default.nix index 7ee4bd8707d..c4386b1a9fb 100644 --- a/pkgs/shells/fish/default.nix +++ b/pkgs/shells/fish/default.nix @@ -28,6 +28,8 @@ stdenv.mkDerivation rec { sed -e "s|gettext |${gettext}/bin/gettext |" \ -e "s|which |${which}/bin/which |" \ -i "$out/share/fish/functions/_.fish" + substituteInPlace "$out/share/fish/functions/fish_default_key_bindings.fish" \ + --replace "clear;" "${ncurses}/bin/clear;" '' + stdenv.lib.optionalString (!stdenv.isDarwin) '' sed -i "s|Popen(\['manpath'|Popen(\['${man_db}/bin/manpath'|" "$out/share/fish/tools/create_manpage_completions.py" '' + '' -- cgit 1.4.1