Téléverser les fichiers vers "/"
This commit is contained in:
parent
77d899c5ac
commit
b73f40f49c
1 changed files with 51 additions and 0 deletions
51
bashrc
Normal file
51
bashrc
Normal file
|
@ -0,0 +1,51 @@
|
|||
RESETC='\033[0m'
|
||||
PURPLE='\033[1;35m'
|
||||
RGREEN='\033[1;32m'
|
||||
RRRRED='\033[1;31m'
|
||||
BWHITE='\033[1;37m'
|
||||
|
||||
ewe() {
|
||||
case $? in
|
||||
|
||||
0)
|
||||
FACE="${RGREEN}UwU${RESETC} "
|
||||
;;
|
||||
|
||||
1)
|
||||
FACE="${RRRRED}OwO\"${RESETC}"
|
||||
;;
|
||||
|
||||
2)
|
||||
FACE="${RRRRED}?w?${RESETC} "
|
||||
;;
|
||||
|
||||
126)
|
||||
FACE="${RRRRED}>w<${RESETC} "
|
||||
;;
|
||||
|
||||
127)
|
||||
FACE="${RRRRED}//w//${RESETC}"
|
||||
;;
|
||||
|
||||
130)
|
||||
FACE="${RRRRED}XwX${RESETC} "
|
||||
;;
|
||||
|
||||
255)
|
||||
FACE="${RRRRED}TwT${RESETC} "
|
||||
;;
|
||||
esac
|
||||
|
||||
echo "\n"
|
||||
echo "╭───╼ $(whoami) ${BWHITE}at${RESETC} $(hostname) ${PURPLE}$(pwd)${RESETC} [$(date +%T)]"
|
||||
echo "╰───╼ Status: $FACE+> "
|
||||
}
|
||||
|
||||
update_ps1() {
|
||||
PS1=$(ewe)
|
||||
}
|
||||
|
||||
PROMPT_COMMAND=update_ps1
|
||||
|
||||
alias py="python"
|
||||
alias neko='echo'
|
Loading…
Add table
Reference in a new issue