Skip to content

Instantly share code, notes, and snippets.

@Dmc0125
Created November 10, 2022 15:28
Show Gist options
  • Select an option

  • Save Dmc0125/84b6fa7012bdbad421d0bf99aa80a302 to your computer and use it in GitHub Desktop.

Select an option

Save Dmc0125/84b6fa7012bdbad421d0bf99aa80a302 to your computer and use it in GitHub Desktop.

Revisions

  1. Dmc0125 created this gist Nov 10, 2022.
    23 changes: 23 additions & 0 deletions .bashrc
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,23 @@
    # cd /apps if exists
    if test -d "apps"
    then
    cd apps
    fi

    # PS1
    txtgrey='\[\e[0;37m\]' # Light Grey
    bldred='\[\e[1;31m\]' # Bold Red
    bldgrn='\[\e[1;92m\]' # Bold Green
    txtrst='\[\e[0;39m\]' # Text Reset

    PS1="[\d \t] $bldred\u$txtgrey in $bldgrn\w\n$txtrst $ "

    # Git aliases
    alias gaa='git add .'
    alias gcm='git commit -m'
    alias gp='git push'
    alias gpm='git push -u origin main'
    alias gs='git status'

    # Vs code
    alias c='code .'