mirror of
https://github.com/opensiriusfox/bashrc.d.git
synced 2025-06-17 04:40:32 -07:00
removed a bunch of special processing
This commit is contained in:
parent
3e6e45d4e2
commit
04c6996897
8 changed files with 100 additions and 0 deletions
16
hostname/batou.sh
Normal file
16
hostname/batou.sh
Normal file
|
@ -0,0 +1,16 @@
|
|||
#!/bin/bash
|
||||
|
||||
|
||||
|
||||
|
||||
COLOR_RST='\[\e[39m\]'
|
||||
ULINE='\[\e[4m\]'
|
||||
ULINE_RST='\[\e[24m\]'
|
||||
|
||||
COLOR_NORM='\[\e[1;33m\]' # Batou (Yellow)
|
||||
alt_hostname="${ULINE}${COLOR_NORM}Batou${COLOR_RST}${ULINE_RST}"
|
||||
|
||||
export PS1="\[\e[01;32m\]\u\[\e[00m\]@\[\e[01;32m\]${alt_hostname}"
|
||||
export PS1+="\[\e[01;34m\] \w \\$\[\e[00m\] "
|
||||
|
||||
unset $alt_hostname $COLOR_NORM $ULINE $ULINE_RST $COLOR_RST
|
Loading…
Add table
Add a link
Reference in a new issue