mirror of
https://github.com/opensiriusfox/bashrc.d.git
synced 2025-06-16 04:10:12 -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
|
|
@ -2,3 +2,15 @@
|
|||
export GTK_IM_MODULE=ibus
|
||||
export XMODIFIERS=@im=ibus
|
||||
export QT_IM_MODULE=ibus
|
||||
|
||||
COLOR_RST='\[\e[39m\]'
|
||||
ULINE='\[\e[4m\]'
|
||||
ULINE_RST='\[\e[24m\]'
|
||||
|
||||
|
||||
alt_hostname="\h"
|
||||
|
||||
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
|
16
hostname/pino.sh
Normal file
16
hostname/pino.sh
Normal file
|
@ -0,0 +1,16 @@
|
|||
#!/bin/bash
|
||||
|
||||
|
||||
|
||||
|
||||
COLOR_RST='\[\e[39m\]'
|
||||
ULINE='\[\e[4m\]'
|
||||
ULINE_RST='\[\e[24m\]'
|
||||
|
||||
COLOR_NORM='\[\e[35m\]' # Pino Purple
|
||||
alt_hostname="${ULINE}${COLOR_NORM}pino${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
|
12
hostname/ram-the-red.meta.sh
Normal file
12
hostname/ram-the-red.meta.sh
Normal file
|
@ -0,0 +1,12 @@
|
|||
#!/bin/bash
|
||||
export IFS=$'\n'
|
||||
|
||||
__builder_prebuild() {
|
||||
set -x
|
||||
ln -s logos/ram-1b.png.sh ./logo.sh
|
||||
}
|
||||
|
||||
__builder_postbuild() {
|
||||
set -x
|
||||
unlink logo.sh
|
||||
}
|
16
hostname/ram-the-red.sh
Normal file
16
hostname/ram-the-red.sh
Normal file
|
@ -0,0 +1,16 @@
|
|||
#!/bin/bash
|
||||
|
||||
|
||||
|
||||
|
||||
COLOR_RST='\[\e[39m\]'
|
||||
ULINE='\[\e[4m\]'
|
||||
ULINE_RST='\[\e[24m\]'
|
||||
|
||||
COLOR_NORM='\[\e[31m\]' # Ram Red
|
||||
alt_hostname="${ULINE}${COLOR_NORM}Ram${COLOR_RST}-the-${COLOR_NORM}Red${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
|
12
hostname/rem-the-blue.meta.sh
Normal file
12
hostname/rem-the-blue.meta.sh
Normal file
|
@ -0,0 +1,12 @@
|
|||
#!/bin/bash
|
||||
export IFS=$'\n'
|
||||
|
||||
__builder_prebuild() {
|
||||
set -x
|
||||
ln -s logos/rem-1b.png.sh ./logo.sh
|
||||
}
|
||||
|
||||
__builder_postbuild() {
|
||||
set -x
|
||||
unlink logo.sh
|
||||
}
|
16
hostname/rem-the-blue.sh
Normal file
16
hostname/rem-the-blue.sh
Normal file
|
@ -0,0 +1,16 @@
|
|||
#!/bin/bash
|
||||
|
||||
|
||||
|
||||
|
||||
COLOR_RST='\[\e[39m\]'
|
||||
ULINE='\[\e[4m\]'
|
||||
ULINE_RST='\[\e[24m\]'
|
||||
|
||||
COLOR_NORM='\[\e[34m\]' # Rem Blue
|
||||
alt_hostname="${ULINE}${COLOR_NORM}Rem${COLOR_RST}-the-${COLOR_NORM}Blue${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