[NixOS] Set TERM=xterm-256color

This commit is contained in:
Kat Huang 2023-08-20 13:00:17 -06:00
parent aaf1156678
commit d809ba1525

View File

@ -67,11 +67,12 @@ with lib;
if [[ "$INSIDE_EMACS" = 'vterm' ]] \ if [[ "$INSIDE_EMACS" = 'vterm' ]] \
&& [[ -n ''${EMACS_VTERM_PATH} ]] \ && [[ -n ''${EMACS_VTERM_PATH} ]] \
&& [[ -f ''${EMACS_VTERM_PATH}/etc/emacs-vterm-bash.sh ]]; then && [[ -f ''${EMACS_VTERM_PATH}/etc/emacs-vterm-bash.sh ]]; then
source ''${EMACS_VTERM_PATH}/etc/emacs-vterm-bash.sh source ''${EMACS_VTERM_PATH}/etc/emacs-vterm-bash.sh
fi fi
export STARSHIP_INSIDE_EMACS="yes" export STARSHIP_INSIDE_EMACS="yes"
''; '';
extraInit = '' extraInit = ''
export TERM=xterm-256color
export PATH="$HOME/.cargo/bin:${libDir}/bin:${libDir}/functions:$PATH"; export PATH="$HOME/.cargo/bin:${libDir}/bin:${libDir}/functions:$PATH";
''; '';
}; };