Faster zshrc

This commit is contained in:
2019-02-11 17:40:33 +01:00
parent 23e40963ba
commit 740857f59b
8 changed files with 88 additions and 176 deletions
+5 -6
View File
@@ -18,12 +18,6 @@ alias cake="cmake"
# My pdf reader
alias pdf="evince"
# Auto color on pacman
command -v pacman > /dev/null 2>&1
if [ $? -eq 0 ]; then
alias pacman='pacman --color=auto'
fi
# clean for cmake files
alias cclean='rm -rf `find . -name "CMakeCache.txt"` `find . -name "cmake_install.cmake"` `find . -name "CMakeFiles"` `find . -name "Makefile"`'
@@ -52,6 +46,11 @@ alias j="jump"
# Disable bat paging
alias bat="bat --paging=never"
# mkdir && cd
mkcd() {
mkdir $1 && cd $1
}
# Initialize thefuck
command -v thefuck > /dev/null 2>&1