Added mutt and neomutt aliases for themes compatibility, moved history alias into .zshrc because zsh exclusive parameters

master
Meliurwen 3 years ago
parent 1d9faf3971
commit 7d0b404823
Signed by: meliurwen
GPG Key ID: 818A8B35E9F1CE10
  1. 5
      common-shells/.aliases
  2. 5
      zsh/.zshrc

@ -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'

@ -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:

Loading…
Cancel
Save