Last active
August 10, 2016 14:14
-
-
Save 0livare/50b7acbd4d257f06f3fa to your computer and use it in GitHub Desktop.
Modified bashrc to add several aliases outside of the 'git' command
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
#!/bin/bash | |
# Start the SSH Agent process | |
eval `ssh-agent -s` | |
# Add your ssh keys | |
ssh-add ~/.ssh/id_rs | |
# Set aliases | |
alias k='git' | |
# Auto-complete for 'k' as well | |
complete -o default -o nospace -F _git k | |
alias s='git status' | |
alias a='git ls' | |
alias start='sh -c start' | |
alias xp='explorer .' | |
alias PROJ='cd /c/dev/PATH-TO-PROJECT' | |
# Add my home directory to the path so that scripts can be loaded from there | |
PATH=$PATH:$USERPROFILE |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment