Browse Source

some more useful aliases

master
Taylor Bockman 1 year ago
parent
commit
072631881d
  1. 12
      dotfiles/zsh/aliases.zsh

12
dotfiles/zsh/aliases.zsh

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

Loading…
Cancel
Save