Created
November 10, 2022 15:28
-
-
Save Dmc0125/84b6fa7012bdbad421d0bf99aa80a302 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
| # 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