commit 240c852994d7e8215d8d06c021ff754deecf5d47
parent 28276e0b9bd3698872fe65a622ded8e04f718fb7
Author: Vincent Demeester <vincent@sbr.pm>
Date: Tue, 23 Oct 2018 10:54:14 +0200
fish: add some emacs extras
Signed-off-by: Vincent Demeester <vincent@sbr.pm>
Diffstat:
1 file changed, 9 insertions(+), 0 deletions(-)
diff --git a/fish.nix b/fish.nix
@@ -6,6 +6,15 @@
shellAliases = import ./aliases.nix;
shellInit = ''
eval (${pkgs.direnv}/bin/direnv hook fish)
+ # emacs ansi-term support
+ if test -n "$EMACS"
+ set -x TERM eterm-color
+
+ # this function may be required
+ function fish_title
+ true
+ end
+ end
'';
};
xdg.configFile."fish/conf.d/a_nix_run.fish".source = ./fish/a_nix_run.fish;