fish: use absolute path to clear when pressing ^L

It was unable to find `clear` for me.
/cc maintainer @ocharles.
This commit is contained in:
Vladimír Čunát 2015-11-29 12:00:22 +01:00
parent 75abd4f0f9
commit 10135e6f41

View File

@ -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"
'' + ''