https://github.com/sanam2405/terminal-customisations
Customising my terminal
https://github.com/sanam2405/terminal-customisations
bash shell
Last synced: 2 months ago
JSON representation
Customising my terminal
- Host: GitHub
- URL: https://github.com/sanam2405/terminal-customisations
- Owner: sanam2405
- Created: 2023-11-11T13:26:53.000Z (over 2 years ago)
- Default Branch: master
- Last Pushed: 2023-11-11T13:37:31.000Z (over 2 years ago)
- Last Synced: 2025-04-09T19:37:51.809Z (about 1 year ago)
- Topics: bash, shell
- Homepage:
- Size: 88.9 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Debarghya's Modded Profile
```bash
PS1='${debian_chroot:+($debian_chroot)}\[\e[01;32m\][\[\e[m\]\[\e[01;31m\]\u\[\e[m\]\[\e[01;33m\]@\[\e[m\]\[\e[01;32m\]\h\[\e[01;32m\]]\[\e[m\]:$([ $? == 0 ] && echo ✅ || echo ❌) \[\e[01;36m\](\W)\[\e[m\]\[\e[m\]\[\e[01;34m\]\n$(__git_ps1 2>/dev/null)$([[ $(git status --porcelain 2>/dev/null | wc -l) == 0 ]] && echo || echo "*") → \[\e[m\]'
```
