Last active
February 18, 2019 16:51
-
-
Save edjames/80e95379caefbe35f3bb51178400560a to your computer and use it in GitHub Desktop.
Digital Ocean .bash_login
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# ~/.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