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.
# 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 .'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment