|
OpenBSD General Other questions regarding OpenBSD which do not fit in any of the categories below. |
|
Thread Tools | Display Modes |
|
|||
Hi ! I put it right away in my ~/.profile .. it works for user & root except that with root it's full light green without gls colors but this because root .profile doesn't contai that .. maybe I didn't understand your point here ..
Thanks for this nice gift !! .. a peaceful light green which reminds of the Netbsd.macppc fg color .. |
|
||||
okay...
Code:
scott@myhost/~ # su<cr> Password: $ Whereas, Code:
scott@myhost/~ # su - <cr> Password: root@myhost/~ $ I don't know if this (typing the "-") is the best/right answer. Any expertise in the matter welcomed! I'd still like to know what shell script is controlling the entry to su(1). Cheers, /S
__________________
Never argue with an idiot. They will bring you down to their level and beat you with experience. |
|
||||
Quote:
http://wiki.bash-hackers.org/scripting/terminalcodes You may also use tput(1). For example, Code:
export PS1="\[$(tput setaf 3)\]\u@\h:\w \$ \[$(tput sgr0)\]" tput(1) may be a little easier to use if you're combining FG & BG and other visual attribute. Knock yourself out! /S
__________________
Never argue with an idiot. They will bring you down to their level and beat you with experience. |
|
|||
Thank you very much for the link and for the interesting website as well .. I'm browsing those bash treasures .. a second shelldorado .. ;-)
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Where to begin with GUI as a frontend for command line? | Daffy | General software and network | 9 | 12th August 2011 03:41 AM |
command-line-fu (digg like site with UNIX commands) | vermaden | Guides | 3 | 13th March 2009 03:56 PM |
avidemux2 command line | roddierod | FreeBSD General | 1 | 10th November 2008 08:27 PM |
Exec command in zsh prompt? | bsddaemon | General software and network | 2 | 18th October 2008 09:37 PM |
OSS , playing a sound via command line.. | scotsman | FreeBSD General | 7 | 29th August 2008 08:01 PM |