Last active
October 15, 2019 20:54
-
-
Save jimmyadaro/b6a91044395e07e011b7a0cdcc49e44d to your computer and use it in GitHub Desktop.
Simple config for macOS' .bash_profile (or .zshrc)
This file contains hidden or 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
# Repeat this line as much as needed so you can access to project's SSH console asap using just the project name | |
alias <PROJECT_NAME>='ssh -i /Users/<USER_NAME>/.ssh/<KEY_NAME> <USER>@<HOST>' | |
# Remove everything from Docker system | |
alias dockerpurge='docker system prune --all --force --volumes' | |
# Man I hate DS_Store files so much... | |
alias rds='find . -name '.DS_Store' -type f -delete && echo ".DS_Store files removed!"' | |
# Open a new terminal window on the same location as the current one is | |
alias new='open -a Terminal $(pwd)' | |
# Open the hosts file with Atom (really useful for VirtualHosts) | |
alias hosts='atom /private/etc/hosts' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment