|
|
@ -22,9 +22,21 @@ alias k8='kubectl' |
|
|
|
# Don't nuke the computer |
|
|
|
# Don't nuke the computer |
|
|
|
alias rm='rm -i' |
|
|
|
alias rm='rm -i' |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
# Confirm before overwriting |
|
|
|
|
|
|
|
alias cp='cp -i' |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
# Default free to sizes in megabytes |
|
|
|
|
|
|
|
alias free='free -m' |
|
|
|
|
|
|
|
|
|
|
|
# Better ls - lists more information for each file |
|
|
|
# Better ls - lists more information for each file |
|
|
|
alias ll='ls -lh' |
|
|
|
alias ll='ls -lh' |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
# Less is a better more |
|
|
|
|
|
|
|
alias more=less |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
# df in human readable sizes |
|
|
|
|
|
|
|
alias df='df -h' |
|
|
|
|
|
|
|
|
|
|
|
# I use Neovim |
|
|
|
# I use Neovim |
|
|
|
if [ -x "$(command -v nvim)" ]; then |
|
|
|
if [ -x "$(command -v nvim)" ]; then |
|
|
|
alias vim=nvim |
|
|
|
alias vim=nvim |
|
|
|