Last active
January 24, 2020 05:39
-
-
Save richardkeep/cc10501d258fe44a28a1ced3412834bd to your computer and use it in GitHub Desktop.
bash aliases
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
# Shortcuts | |
alias pbcopy='xclip -selection clipboard' | |
alias pbpaste='xclip -selection clipboard -o' | |
alias copyssh="pbcopy < $HOME/.ssh/id_rsa.pub" | |
alias shrug="echo '¯\_(ツ)_/¯' | pbcopy" | |
alias c="clear" | |
# Directories | |
alias gohome="cd $HOME/code" | |
alias goaudit="gohome && cd audit/" | |
alias lt='du -sh * | sort -h' | |
# Laravel | |
alias art="php artisan" | |
# PHP | |
alias cu="composer u" | |
alias cda="composer dumpautoload" | |
# Git | |
alias gaa="git add ." | |
alias gc="git commit -m" | |
alias amend="git commit --amend --no-edit" | |
alias amendall="git add . && amend" | |
alias wip="git add . && git commit -m 'wip'" | |
alias gs="git status" | |
alias gb="git branch" | |
alias gp="git push" | |
alias gch="git checkout" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment