Skip to content

Instantly share code, notes, and snippets.

@thiagolsfortunato
Last active August 4, 2020 14:42
Show Gist options
  • Save thiagolsfortunato/f964d9850aa3625f03ec04f999b11fbd to your computer and use it in GitHub Desktop.
Save thiagolsfortunato/f964d9850aa3625f03ec04f999b11fbd to your computer and use it in GitHub Desktop.
my person .bash_aliases
# shellcheck shell=sh
alias ....='cd ../../ ..'
alias ...='cd ../..'
alias ..='cd ..'
alias {ack,ak}='ack-grep'
alias c='clear'
alias cp="cp -i"
alias cs='clear;ls'
alias df='df -h' # human-readable sizes
alias egrep='egrep --colour=auto'
alias fgrep='fgrep --colour=auto'
alias free='free -m' # show sizes in MB
alias grep='grep --colour=auto'
alias h='history | tail'
alias h='history'
alias hg='history | grep'
alias home='cd ~/'
alias k='kill'
alias l='ls -alFtr'
alias l='ls -CF'
alias la='ls -A'
alias ll='ls -la'
alias ls='ls --color'
alias ls='ls --color=auto'
alias lsa='ls -a'
alias lsd='ls -d .*'
alias lslah='ls -lah'
alias lsls='ls -lhS'
alias lstr='ls -ltr'
alias more=less
alias mv='mv -i'
alias null='/dev/null'
alias p='cat'
alias p='pwd'
alias pd='pwd'
alias pd='pwd'
alias pk='pkill'
alias q='exit'
alias raked='rake db:drop db:create db:migrate db:seed'
alias root='cd /'
alias t='time'
alias rrg='rake routes | grep '
alias rspecd='rspec --drb '
alias rvm-restart='source '\''/home/durrantm/.rvm/scripts/rvm'\'''
alias {t,tf}='terraform'
alias terraform-plan='rm -rf .terraform/ && terraform init && terraform plan'
alias v='vim'
alias x='exit'
alias zap='rm -i'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment