Compare commits
3 commits
c0896ee09d
...
075c59ec4c
Author | SHA1 | Date | |
---|---|---|---|
|
075c59ec4c | ||
|
7cdb673bb4 | ||
|
4d22f92c76 |
4 changed files with 15 additions and 15 deletions
|
@ -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
|
||||
|
7
etc/bash/bashrc.d/50-common_sh_directives.bashrc
Normal file
7
etc/bash/bashrc.d/50-common_sh_directives.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
|
||||
|
7
etc/bash/bashrc.d/50-ps1.bashrc
Normal file
7
etc/bash/bashrc.d/50-ps1.bashrc
Normal file
|
@ -0,0 +1,7 @@
|
|||
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}"'\$ '
|
||||
|
|
@ -2,7 +2,7 @@
|
|||
name = Hippolyte Chauvin
|
||||
email = hchauvin38@outlook.fr
|
||||
[core]
|
||||
editor = hx
|
||||
editor = nvim
|
||||
[init]
|
||||
defaultbranch = main
|
||||
[pull]
|
||||
|
|
Loading…
Reference in a new issue