Skip to content

Instantly share code, notes, and snippets.

@rakshitarenja
Forked from sarthaksavvy/Zsh
Created May 11, 2020 13:26
Show Gist options
  • Save rakshitarenja/e3b9445f88e6b0dc47125ad9b121d24a to your computer and use it in GitHub Desktop.
Save rakshitarenja/e3b9445f88e6b0dc47125ad9b121d24a to your computer and use it in GitHub Desktop.
Terminal Alias
export DEFAULT_USER="$(whoami)"
export PATH=~/.composer/vendor/bin:$PATH
# Alias for composer
alias cr=composer
alias cri="composer install"
alias crd="composer dump-autoload"
alias cru="composer update"
# Alias for artisan commands
alias pa="php artisan"
alias pamm="php artisan make:model"
alias pamc="php artisan make:controller"
alias pakg="php artisan key:generate"
alias pamt="php artisan make:test"
alias pamf="php artisan migrate:fresh"
alias pami="php artisan migrate"
alias pads="php artisan db:seed"
alias pas="php artisan serve"
# Alias for git
alias g=git
ZSH_THEME="agnoster"
plugins=(
git
zsh-syntax-highlighting
zsh-autosuggestions
)
source $ZSH/oh-my-zsh.sh
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment