-
-
Save achrafmontage/be42a70b67dac92055ef6bf4702fd3e7 to your computer and use it in GitHub Desktop.
This file contains hidden or 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
step #1 | |
go to this path: | |
C:\Users\NAME-PC | |
step #2 | |
then create this file .bash_profile if not available | |
step #3 | |
past all the aliases bellow or make yours as well: | |
############################################################################################################### | |
# git | |
alias g="git" | |
alias gs="git status" | |
alias ga="git add ." | |
alias gc="git commit -m" | |
alias gn="git init && git add . && git commit -m \"init\"" | |
# laravel | |
alias pa="php artisan" | |
alias l="php artisan serve" | |
alias lmf="php artisan migrate:fresh --seed" | |
alias pt="vendor/bin/phpunit --testdox --stop-on-failure" | |
alias ptf="vendor/bin/phpunit --testdox --stop-on-failure --filter" | |
alias tinker="pa tinker" | |
# react native | |
alias rr="react-native run-android" | |
alias rn="react-native" | |
alias rns="react-native start --reset-cache" | |
alias rrr="rr --variant=release" | |
alias rnb="cd android && ./gradlew bundleRelease && cd .." | |
alias rnc="cd android && ./gradlew clean && cd .." | |
# flutter | |
alias f="flutter" | |
alias fd="flutter doctor" | |
alias fr="flutter run" | |
# yarn | |
alias y="yarn" | |
alias yt="yarn test" | |
alias ya="yarn add" | |
# other | |
alias c=clear | |
alias sd="start ." | |
alias ll='ls -lah' | |
alias ..='cd ..' | |
alias bash='/git-bash.exe &' | |
alias b='bash' | |
alias upalias="source ~/.bashrc" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Top