Skip to content

Instantly share code, notes, and snippets.

@wawashra
Forked from BashirShallah/my aliases
Created March 21, 2020 12:35
Show Gist options
  • Select an option

  • Save wawashra/82770a7e7469a524333de845c586ebcf to your computer and use it in GitHub Desktop.

Select an option

Save wawashra/82770a7e7469a524333de845c586ebcf to your computer and use it in GitHub Desktop.

Revisions

  1. @BashirShallah BashirShallah revised this gist Mar 17, 2020. 1 changed file with 1 addition and 1 deletion.
    2 changes: 1 addition & 1 deletion my aliases
    Original file line number Diff line number Diff line change
    @@ -18,7 +18,7 @@ alias rr="react-native run-android"
    alias rn="react-native"
    alias rns="react-native start --reset-cache"
    alias rrr="rr --variant=release"
    alias rnbundle="cd android && ./gradlew bundleRelease && cd .."
    alias rnb="cd android && ./gradlew bundleRelease && cd .."
    alias rnc="cd android && ./gradlew clean && cd .."

    # flutter
  2. @BashirShallah BashirShallah created this gist Mar 17, 2020.
    41 changes: 41 additions & 0 deletions my aliases
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,41 @@
    # 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 rnbundle="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"