Browse Source

cool binds

master
Taylor Bockman 4 years ago
parent
commit
e7a15c17f2
  1. 25
      dotfiles/bash/bashrc

25
dotfiles/bash/bashrc

@ -80,8 +80,6 @@ if [[ "$OS_TYPE" != "gnu-linux" ]]; then
alias python='python3'
fi
alias vim='nvim'
# rlwrap provides readline wrapping for programs.
# This alias makes the SBCL REPL usable.
alias sbcl='rlwrap sbcl'
@ -96,6 +94,29 @@ alias gitd='git diff'
alias k8='kubectl'
# Good overrides
# Don't nuke the computer
alias rm='rm -i'
# Better ls - lists more information for each file
alias ll='ls -lh'
# Human readable ls for the current directory
if [[ "$OS_TYPE" != "gnu-linux" ]]; then
# OS X lt
alias lt='du -sh * | sort -h'
else
alias lt='ls --human-readable --size -1 -S --classify'
fi
# Count files in the current directory
alias count='find . -type f | wc -l'
# Generate sha1 hashes on the fly
alias sha1='openssl sha1'
# -------------- END ALIASES --------------#

Loading…
Cancel
Save