diff options
| author | Ahmed Abdelhalim <[email protected]> | 2026-04-23 14:53:54 +0200 |
|---|---|---|
| committer | Ahmed Abdelhalim <[email protected]> | 2026-04-23 14:53:54 +0200 |
| commit | 172a05cf51505724f37ea8a03e4939540011c976 (patch) | |
| tree | 21a100001b314653c156e12d25b0780ff0f9b5af /.bashrc | |
| parent | 859dd28e2e00f0f9a020b760add653e3941bd0e4 (diff) | |
Update the PS1 to include distro name for dualboot
Diffstat (limited to '.bashrc')
| -rw-r--r-- | .bashrc | 7 |
1 files changed, 6 insertions, 1 deletions
@@ -14,7 +14,12 @@ export HISTCONTROL=ignoredups:erasedups export EDITOR='vim' export TERM="xterm-256color" export GREP_OPTIONS="--color=auto" -export PS1='[\h]: \W \$ ' +if [ -f /etc/os-release ]; then + . /etc/os-release + export PS1="[$ID@\h]: \W \$ " +else + export PS1='[\h]: \W \$ ' +fi export LC_ALL=en_US.UTF-8 export LANG=en_US.UTF-8 |
