Skip to content

Instantly share code, notes, and snippets.

@edjames
Last active February 18, 2019 16:51
Show Gist options
  • Save edjames/80e95379caefbe35f3bb51178400560a to your computer and use it in GitHub Desktop.
Save edjames/80e95379caefbe35f3bb51178400560a to your computer and use it in GitHub Desktop.
Digital Ocean .bash_login
# ~/.bash_login
export PS1="\e[36;1m\]>\e[93;1m\] changeme \e[36;1m\]\W\e[0m\] "
alias d='docker'
alias dco='docker-compose'
alias da="direnv allow"
alias ..='cd ..'
alias ...='cd ../..'
alias -- -="cd -"
alias l="ls -lah --color=auto"
# IP addresses
alias externalip="dig +short myip.opendns.com @resolver1.opendns.com"
# Disk space and memory
alias free="free -m"
alias left="df -h"
# System helpers
alias hgrep="history | grep \$1"
alias psef="ps auxwf | grep \$1"
alias cls="clear"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment