From 7d0b40482362f60140d834e6cb8292c71ad8f6da Mon Sep 17 00:00:00 2001 From: meliurwen Date: Mon, 4 Oct 2021 15:27:01 +0200 Subject: [PATCH] Added mutt and neomutt aliases for themes compatibility, moved history alias into .zshrc because zsh exclusive parameters --- common-shells/.aliases | 5 ++++- zsh/.zshrc | 5 ++++- 2 files changed, 8 insertions(+), 2 deletions(-) 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: