summaryrefslogtreecommitdiff
path: root/.zshrc
diff options
context:
space:
mode:
Diffstat (limited to '.zshrc')
-rw-r--r--.zshrc8
1 files changed, 8 insertions, 0 deletions
diff --git a/.zshrc b/.zshrc
index bc56cd6..9075db5 100644
--- a/.zshrc
+++ b/.zshrc
@@ -30,6 +30,11 @@ alias neo="pfetch"
alias rf="rm -fr" # remove le french hon hon hon
alias config="/usr/bin/git --git-dir=$HOME/.cfg/ --work-tree=$HOME"
alias ls="ls --color=auto"
+alias ip="ip --color=auto"
+alias grep="grep --color=auto"
+alias diff="diff --color=auto"
+alias ccat="highlight --out-format=ansi"
+
alias config="/usr/bin/git --git-dir=$HOME/.cfg --work-tree=$HOME"
@@ -45,6 +50,9 @@ man() {
man "$@"
}
+# exit bad
+[ $NOEXIT ] && alias exit="echo Exiting is disabled"
+
# Enable zsh auto suggestions
autoload compinit && compinit
source $HOME/.zsh/zsh-autosuggestions/zsh-autosuggestions.zsh