Skip to content

Instantly share code, notes, and snippets.

@azatakmyradov
Created August 20, 2017 11:12
Show Gist options
  • Save azatakmyradov/1fca1818d07e0ecf7b845fd1848929d6 to your computer and use it in GitHub Desktop.
Save azatakmyradov/1fca1818d07e0ecf7b845fd1848929d6 to your computer and use it in GitHub Desktop.
alias show_files="defaults write com.apple.finder AppleShowAllFiles YES"
alias hide_files="defaults write com.apple.finder AppleShowAllFiles NO"
alias laravel-new="composer create-project laravel/laravel"
alias code="cd ~/code/"
alias desktop="cd ~/Desktop"
alias art="php artisan"
alias delete="rm -rf"
alias show_file="chflags nohidden"
alias gl="git log --graph --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr) %C(bold blue)<%an>%Creset' --abbrev-commit"
alias laravel-develop="git clone -o laravel -b develop https://github.com/laravel/laravel.git"
alias ga="git add"
alias gaa="git add ."
alias gc="git commit -m"
alias gp="git push"
alias gs="git status"
alias nah="git reset --hard;git clean -df;"
alias sshkey="cat ~/.ssh/id_rsa.pub | pbcopy && echo 'Copied to clipboard.'"
alias reload='clear; source ~/.zshrc'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment