Skip to content

Instantly share code, notes, and snippets.

@0livare
Last active August 10, 2016 14:14
Show Gist options
  • Save 0livare/50b7acbd4d257f06f3fa to your computer and use it in GitHub Desktop.
Save 0livare/50b7acbd4d257f06f3fa to your computer and use it in GitHub Desktop.
Modified bashrc to add several aliases outside of the 'git' command
#!/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