diff options
author | Vladimír Čunát <vcunat@gmail.com> | 2015-11-29 12:00:22 +0100 |
---|---|---|
committer | Vladimír Čunát <vcunat@gmail.com> | 2015-11-29 12:01:17 +0100 |
commit | 10135e6f411b143dff4cf605ef382a6308a33675 (patch) | |
tree | 79f5c7a535c4e27e1278fc44044bd8d7f541bece /pkgs | |
parent | 75abd4f0f9401c89366405f8a90603b3fd35a9d3 (diff) |
fish: use absolute path to clear when pressing ^L
It was unable to find `clear` for me. /cc maintainer @ocharles.
Diffstat (limited to 'pkgs')
-rw-r--r-- | pkgs/shells/fish/default.nix | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/pkgs/shells/fish/default.nix b/pkgs/shells/fish/default.nix index 7ee4bd8707d11..c4386b1a9fb8f 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" '' + '' |