Last active
October 9, 2024 18:26
-
-
Save pvaviloff/91e38cb2b66db94be60bb84f8df35ba1 to your computer and use it in GitHub Desktop.
Bash/zsh aliases
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
# Add ".bash_aliases" into "Home" directory. | |
# Type into console: cd ~/ && nano .bash_aliases | |
# Then paste the following into the file and save it. | |
#short code | |
alias g='git' | |
alias v='vagrant' | |
alias vs='vagrant global-status' | |
alias dc='docker-compose' | |
#mistype | |
alias gti='git' | |
alias got='git' | |
alias gto='git' |
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
if [ -f ~/.aliases ]; then | |
. ~/.aliases | |
fi |
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
source $HOME/.aliases |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment