Created
August 4, 2020 01:05
-
-
Save spencerpogo/088145da2f4828948cd11d1364130001 to your computer and use it in GitHub Desktop.
My shell aliases file
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
alias "cd.."="cd .." | |
alias lsa="ls -a" | |
# For when ubuntu doesn't want to let me use my headphones | |
alias afr="sudo alsa force-reload" | |
# taken from the ubuntu default .bashrc | |
alias alert='notify-send --urgency=low -i "$([ $? = 0 ] && echo terminal || echo error)" "$(history|tail -n1|sed -e '\''s/^\s*[0-9]\+\s*//;s/[;&|]\s*alert$//'\'')"' | |
alias notify="alert" | |
alias gc="git commit -am" # Usage: gc "My commit message" | |
alias gs="git status" | |
alias gp="git push" | |
alias copy="xclip -selection clipboard" # Usage: somecmd | copy |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment