Demo entry 6635730

My .bashrc file

   

Submitted by anonymous on Aug 18, 2017 at 10:47
Language: Bash. Code size: 712 Bytes.

alias rm='rm -i'
alias cp='cp -i'
alias mv='mv -i'
alias inspkg="sudo apt-get install"
alias reset="reset;cd ~;source .bashrc"

echo -e \\e[36m\\e[5m\\e[1m\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ ┏━━━━━━━━━━━━━━━━━━━━━━━┓
printf \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ ┃Hello,\\e[0m\\e[33m\\e[5m\\e[1m
printf "%8s" $USER
echo -e \ \ \ \ \ \ \ \ \!\\e[0m\\e[36m\\e[5m\\e[1m┃
echo -e \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ ┗━━━━━━━━━━━━━━━━━━━━━━━┛\\e[0m

PS1="\\e[0m\\e[1m\[╭─┤\
\$(\
  [[ \$? -ne 0 ]] && \
  printf \\e[31m\ &&\
  printf ✖ &&\
  printf \\e[0m\\e[1m\ \ ├──┤\
)\
\e[32m\
\$(\
 [[ $USER = root ]] && printf \\e[31m
)\
\u\
\e[0m\\e[1m├──┤\w├──┤\H├──┤\t├──╮\]\
\n\[╰─\e[33m\$ \]\e[0m"

PATH=$PATH:.

This snippet took 0.00 seconds to highlight.

Back to the Entry List or Home.

Delete this entry (admin only).