.bashrc configuration
Hi!
I would like some tips about nice colors in my .bashrc files. Maybe someone would like to post their configuration? The code is kinda cryptic to me so examples would be appreciated =) Edit: I would like to have the steps to where I am before my $ so I don't need 'pwd' all the time, if you know what I mean? Like this for example: user@computer [/home/user/pr0n/]$ ;-) I currently use Insyte's: http://insyte.atspace.com/files/.bashrc Thanks! |
Try this, it has that 'pwd' thing + clock :)
PS1 = "\[\033[1;31m\](\t)\[\033[0m\][\u@\[\033[1;33m\]\w\[\033[0m\]]\$ " Works best on dark backgrounds. |
Thanks!
Thats it, now some nice color "schemes" for files, directories, commands and so on, please =) |
Look at /etc/DIR_COLORS or ~/.dir_colors - these are color definitions for ls. Here is my file (default in Slackware) http://ivanatora.shacknet.nu/files/DIR_COLORS
|
All times are GMT -5. The time now is 11:50 AM. |