Skip to content

Instantly share code, notes, and snippets.

@sarthaksavvy
Last active March 17, 2023 18:37
Show Gist options
  • Save sarthaksavvy/f81ffb5b36f83ea396693efc7a1eaf11 to your computer and use it in GitHub Desktop.
Save sarthaksavvy/f81ffb5b36f83ea396693efc7a1eaf11 to your computer and use it in GitHub Desktop.
Terminal Alias
export DEFAULT_USER="$(whoami)"
export PATH=~/.composer/vendor/bin:$PATH
# Alias for pythons
alias py=python
# 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
# docker
alias doc="docker"
alias docc="docker-compose"
ZSH_THEME="agnoster"
plugins=(
git
zsh-syntax-highlighting
zsh-autosuggestions
)
source $ZSH/oh-my-zsh.sh
@towhid-284
Copy link

can i use it windows 10 and how to use it ? explain please thank you .

@sarthaksavvy
Copy link
Author

can i use it windows 10 and how to use it ? explain please thank you .

You can install gitbash or cmder and then yes you can use with windows

@sarthaksavvy
Copy link
Author

what is acm?
g acm first for seven... acm means what you wrote in tutorial..

This is on my git config settings,
Check this gist https://gist.github.com/sarthaksavvy/3016900433910b32043c219cd341afda

@Sambit123
Copy link

how to use this ? what command should i write and where ,to get what specific output and its use? PLEASE !!! make a separate video .... if made please send the link.

@hanifhefaz
Copy link

how to use this ? what command should i write and where ,to get what specific output and its use? PLEASE !!! make a separate video .... if made please send the link.

This is a simple google thing. Like This

@iamabhishekgarg
Copy link

i am not getting how to use on latest vs code

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment