diff --git a/.aliasrc b/.aliasrc index 9fbc9b0..e7b2098 100644 --- a/.aliasrc +++ b/.aliasrc @@ -1,5 +1,6 @@ alias bashrc="vim ~/.bashrc" alias aliasrc="vim ~/.aliasrc" +alias vimrc="vim ~/.vimrc" alias ..="cd .." alias ...="cd ../.." @@ -11,7 +12,19 @@ alias ip='ip --color' alias l='ls -1' alias ll='ls -lh' +alias lt='ls -lht' alias la='ls -lha' +alias lta='ls -lhat' + +# Safety +alias rm='rm -I --preserve-root' +alias mv='mv -i' +alias cp='cp -i' +alias ln='ln -i' +alias mkdir='mkdir -p' +alias chown='chown --preserve-root' +alias chmod='chmod --preserve-root' +alias chgrp='chgrp --preserve-root' alias lgrep='l . | grep' alias lagrep='la . | grep' @@ -19,6 +32,8 @@ alias lagrep='la . | grep' # Pretty print path variables alias path='echo -e ${PATH//:/\\n}' +alias df='df -kTh' + alias fzfpac="pacman -Slq | fzf -m --preview 'pacman -Si {1}' | xargs -ro sudo pacman -S" alias vi='vim'