diff --git a/common-shells/.aliases b/common-shells/.aliases index dcf5e64..62c1281 100644 --- a/common-shells/.aliases +++ b/common-shells/.aliases @@ -6,7 +6,7 @@ alias upgrade='sudo apt-get update && \ sudo apt-get clean' # System clean upgrade alias diff='diff --color' alias ls='ls --color=tty' -alias mutt='TERM=${TERM}-256color mutt' -alias neomutt='TERM=${TERM}-256color neomutt' +alias mutt='TERM=${TERM%-256color}-256color mutt' +alias neomutt='TERM=${TERM%-256color}-256color neomutt' alias mpv-pip='mpv --profile="pip"' diff --git a/common-shells/.profile b/common-shells/.profile index 9c06c97..5be1aeb 100644 --- a/common-shells/.profile +++ b/common-shells/.profile @@ -18,7 +18,7 @@ if [ "$TERM" = "linux" ]; then setfont "$CONSOLE_FONTD/$CONSOLE_FONT" fi # Enable numlock for TTY - if command -v setleds; then + if command -v setleds > /dev/null 2>&1; then setleds -D +num fi fi