diff --git a/common-shells/.aliases b/common-shells/.aliases index e1fc170..e48a64e 100644 --- a/common-shells/.aliases +++ b/common-shells/.aliases @@ -1,7 +1,10 @@ +#!/bin/sh + alias upgrade='sudo apt-get update && \ sudo apt upgrade && \ sudo apt-get autoremove --purge && \ sudo apt-get clean' # System clean upgrade -alias history='history 1' # Print whole history alias diff='diff --color' alias ls='ls --color=tty' +alias mutt='TERM=${TERM}-256color mutt' +alias neomutt='TERM=${TERM}-256color neomutt' diff --git a/zsh/.zshrc b/zsh/.zshrc index 51daf76..e6e20d1 100644 --- a/zsh/.zshrc +++ b/zsh/.zshrc @@ -10,8 +10,11 @@ setopt hist_ignore_space # ignore commands that start with space setopt hist_verify # show command with history expansion to user before running it setopt share_history # share command history data -# Aliases +## Aliases +# Common [ -f "$HOME/.aliases" ] && . "$HOME/.aliases" +# ZSH only +alias history='history 1' # Print whole history ### Keybinds # See: