Compare commits
No commits in common. "231211b7c47039e7bb7c2dc0a15e4399755d8755" and "64dd218a478e7f7f7cf9b8155ba38cdb7c6cede9" have entirely different histories.
231211b7c4
...
64dd218a47
11 changed files with 39 additions and 24 deletions
|
@ -1,3 +0,0 @@
|
||||||
ps1_brackets='()'
|
|
||||||
ps1_color_1=32
|
|
||||||
ps1_color_2=34
|
|
|
@ -1,3 +0,0 @@
|
||||||
ps1_brackets='[]'
|
|
||||||
ps1_color_1=35
|
|
||||||
ps1_color_2=34
|
|
|
@ -1,4 +0,0 @@
|
||||||
ps1_color_1=36
|
|
||||||
ps1_color_2=34
|
|
||||||
|
|
||||||
export SYSTEMD_PAGER=
|
|
|
@ -1,14 +0,0 @@
|
||||||
if [ "$(id -u)" -eq 0 ]; then
|
|
||||||
ps1_color_1=31
|
|
||||||
ps1_color_2=32
|
|
||||||
fi
|
|
||||||
|
|
||||||
PS1="\033[0m${ps1_brackets:0:1}\033[1;${ps1_color_1}m\u@\h\033[0m \033[1;${ps1_color_2}m\W\033[0m${ps1_brackets:1:1}\$ "
|
|
||||||
|
|
||||||
shrc_d=/usr/local/etc/sh/shrc.d
|
|
||||||
if [ -d "$shrc_d" ]; then
|
|
||||||
for i in "${shrc_d}/"*; do
|
|
||||||
. "$i"
|
|
||||||
done
|
|
||||||
fi
|
|
||||||
|
|
10
etc/bash/bashrc.d/ahrc-laptop.bashrc
Normal file
10
etc/bash/bashrc.d/ahrc-laptop.bashrc
Normal file
|
@ -0,0 +1,10 @@
|
||||||
|
# PS1
|
||||||
|
if [ "$(id -u)" -eq 0 ]; then
|
||||||
|
ps1_color_1=1
|
||||||
|
ps1_color_2=10
|
||||||
|
else
|
||||||
|
ps1_color_1=2
|
||||||
|
ps1_color_2=4
|
||||||
|
fi
|
||||||
|
export PS1="(\[$(tput sgr0)\]\[$(tput bold)\]\[\033[38;5;${ps1_color_1}m\]\u@\h\[$(tput sgr0)\] \[$(tput sgr0)\]\[$(tput bold)\]\[\033[38;5;${ps1_color_2}m\]\W\[$(tput sgr0)\])\\$ \[$(tput sgr0)\]"
|
||||||
|
|
10
etc/bash/bashrc.d/ahrc-pc.bashrc
Normal file
10
etc/bash/bashrc.d/ahrc-pc.bashrc
Normal file
|
@ -0,0 +1,10 @@
|
||||||
|
# PS1
|
||||||
|
if [ "$(id -u)" -eq 0 ]; then
|
||||||
|
ps1_color_1=1
|
||||||
|
ps1_color_2=10
|
||||||
|
else
|
||||||
|
ps1_color_1=5
|
||||||
|
ps1_color_2=4
|
||||||
|
fi
|
||||||
|
export PS1="[\[$(tput sgr0)\]\[$(tput bold)\]\[\033[38;5;${ps1_color_1}m\]\u@\h\[$(tput sgr0)\] \[$(tput sgr0)\]\[$(tput bold)\]\[\033[38;5;${ps1_color_2}m\]\W\[$(tput sgr0)\]]\\$ \[$(tput sgr0)\]"
|
||||||
|
|
7
etc/bash/bashrc.d/ahurac.bashrc
Normal file
7
etc/bash/bashrc.d/ahurac.bashrc
Normal file
|
@ -0,0 +1,7 @@
|
||||||
|
shrc_d=/usr/local/etc/sh/shrc.d
|
||||||
|
if [ -d "$shrc_d" ]; then
|
||||||
|
for i in "${shrc_d}/"*; do
|
||||||
|
. "$i"
|
||||||
|
done
|
||||||
|
fi
|
||||||
|
|
12
etc/bash/bashrc.d/tera-io.bashrc
Normal file
12
etc/bash/bashrc.d/tera-io.bashrc
Normal file
|
@ -0,0 +1,12 @@
|
||||||
|
# PS1
|
||||||
|
if [ "$(id -u)" -eq 0 ]; then
|
||||||
|
ps1_color_1=1
|
||||||
|
ps1_color_2=10
|
||||||
|
else
|
||||||
|
ps1_color_1=6
|
||||||
|
ps1_color_2=4
|
||||||
|
fi
|
||||||
|
export PS1="{\[$(tput sgr0)\]\[$(tput bold)\]\[\033[38;5;${ps1_color_1}m\]\u@\h\[$(tput sgr0)\] \[$(tput sgr0)\]\[$(tput bold)\]\[\033[38;5;${ps1_color_2}m\]\W\[$(tput sgr0)\]}\\$ \[$(tput sgr0)\]"
|
||||||
|
|
||||||
|
export SYSTEMD_PAGER=
|
||||||
|
|
Loading…
Reference in a new issue