Last active
September 22, 2023 10:29
-
-
Save neerajadsul/674201e22e5c6c905ef14e6c45fd4657 to your computer and use it in GitHub Desktop.
Shell aliases and modifiers
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
# aliases for commonly used commands | |
alias ll="exa -al" | |
alias gad="git add" | |
alias gcm="git commit -m" | |
alias gst="git status" | |
alias gps="git push" | |
alias gpss="git push --set-upstream origin" | |
alias gol="git log" | |
alias gfa="git fetch --all" | |
alias gfp="git fetch --prune" | |
alias ghk="git checkout" | |
alias condad="conda deactivate" | |
alias condaa="conda activate" | |
alias grs="git restore --staged" | |
alias lsconda="conda env list" | |
alias lsvenv="ls ~/.virtualenv/" | |
# Map UP key to autocomplete from history | |
bind '"\e[A": history-search-backward' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment