diff options
author | Camil Staps | 2021-06-28 17:27:12 +0200 |
---|---|---|
committer | Camil Staps | 2021-06-28 17:27:12 +0200 |
commit | 76b2be46cf5fe25c0905bb30b6ff21221be0f35d (patch) | |
tree | 0054dc63eceb3a9a629dd4282f7668dfcc71e5d4 /system/.profile | |
parent | Remove email; update readme (diff) |
Fix nix-shell urxvt issue
Diffstat (limited to 'system/.profile')
-rw-r--r-- | system/.profile | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/system/.profile b/system/.profile index 429ac48..464c47b 100644 --- a/system/.profile +++ b/system/.profile @@ -17,7 +17,10 @@ export PATH="$HOME/bin:$PATH" export PATH="$HOME/bin.local:$PATH" [ -f "/home/camil/.ghcup/env" ] && . "/home/camil/.ghcup/env" + [ -f /home/camil/.nix-profile/etc/profile.d/nix.sh ] && . /home/camil/.nix-profile/etc/profile.d/nix.sh +# with TERM=rxvt-unicode-256color, backspace and other keys don't work in nix shells +[ "$IN_NIX_SHELL" = "" -a "$TERM" = "rxvt-unicode-256color" ] || TERM=rxvt-256color export MANPATH="/usr/local/git/man:$MANPATH" export MANPATH="/usr/local/mysql/man:$MANPATH" |