Hello There, Guest! Register

Thread Rating:
  • 1 Vote(s) - 1 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Config bashrc for terminal
#1
Rainbow 
Assalamualaikum warahmatulahi wabarakatu..
Kembali lagi dengan aku desaigner tertampaaaannn sepanjang sejarah dongeng..

NEXT >>

Quote:Masuk terminal dan ketikan :
Code:
nano .bashrc
ATAU
Code:
gedit .bashrc

Lalu pastekan code di bawah, tepatanya di bawah code fi setelah itu save, Kalau kamu ngak tau cara save silahkan klik ini.


Quote:Jika kamu suka banyak warna :
Code:
if [[ ${EUID} == 0 ]] ; then
PS1='\e[1;31;48;5;234m\u \e[38;5;240mon \e[1;38;5;28;48;5;234m\h \e[38;5;54m\d \@\e[0m\n\e[0;31;48;5;234m[\w] \e[1m\$\e[0m '
else
PS1='\e[1;38;5;56;48;5;234m\u \e[38;5;240mon \e[1;38;5;28;48;5;234m\h \e[38;5;54m\d \@\e[0m\n\e[0;38;5;56;48;5;234m[\w] \e[1m\$\e[0m '
fi
Quote:[Image: u5PROauGRHmnCoveteH2dw.png]

Jika kamu suka design simple :
Code:
PS1='\[\e[0m\]\[\e[48;5;236m\]\[\e[38;5;197m\]\u\[\e[38;5;197m\]@\[\e[38;5;197m\]\h\[\e[38;5;105m\] \[\e[38;5;221m\]\w\[\e[38;5;221m\]\[\e[38;5;105m\]\[\e[0m\]\[\e[38;5;236m\]\342\226\214\342\226\214\342\226\214\[\e[0m\]'
Quote:[Image: ziUY-PTLTlKoLUH3e_vlQA.png]

Jika Suka dengan design Elegan :
Code:
PS1="\[\e[47m\]\[\e[1;30m\]*\[\e[0m\]\[\e[00;36m\][\u]\n\[\e[47m\]\[\e[1;30m\]\#\[\e[0m\]  └── \[\e[0m\]\[\e[0;37m\][\h] \[\e[0m\]\n     └── \[\e[0m\]\[\e[1;33m\]>>\[\e[0m\]
Quote:
[Image: gcstIa_1RF6h1oSYPwVWzg.png]

Oke, mungkin itu aja, kalau kamu punya desain bash terminal yg kerryeenn buangetttt Cool . di taruh di kolom post di bawah ya!!
Ilmu itu di bagi coy!! #eh kalau di bagi hasil akhirnya dikit dong, Tzerah lu deh Tong ... Dodgy
FUCK OFF.
Reply
#2
Punya ku kayak gini ajah


Code:
PS1="\n \[\033[m\]┌─[\[\033[31m\] \d \[\033[36m\]\T \[\033[35m\]\$(/bin/ls -1 | /usr/bin/wc -l | /bin/sed 's: ::g') files, \[\033[32m\]\$(/bin/ls -lah | /bin/grep -m 1 total | /bin/sed 's/total //') \n\[\033[m\] └─[ \[\033[33m\]\u\[\033[31m\]@\[\033[32m\]\h:\[\033[33;1m\]\w \[\e[1;37m\]]\[\e[1;35m\] --> \[\e[0;37m\] "



Quote:
[Image: nc9m3cO_QM6_d9w1bhni_g.png]
┌[ A. Djalil | jlcnate@codernate.org
└[ root@jlcnate:~ ] --> Fabiai-yi aalaa-i rabbikumaa tukadz-dzibaan
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)