preserving konsole colours
When i boot my copy of slackware, at the login screen (terminal) after i logged in, the terminal displays color for special stuff like ls folder (executable files (green), tarballs (red) etc). but when i am in x windows and opened a konsole window, ls gave me only black colours (not that i have set the theme - in vi/vim it still displays the color but not in console) why is that? and my vim does not show some of it properly ( it did before, for c codes, syntax highlighting ) anyone know how i can fix that?
(i installed kde 3.1.2 over 3.0 and that is the result.. it also changed my bash to bash-2.05b from [root@darkstar], which i wish i can restore too...) anyone know how? thanks in advance :) |
Your "bash" prompt can be set by using PS1 settings (do a search on that, I'm not too familiar since I'm not concerned with that feature) in your /etc/profile. This is also the area where you might wanna place the aliases below...
To get colors, I suggest aliasing ls to ls --color. I prefer to use ~/.bashrc but you can set them in /etc/profile for system wide changes (which on a single user system you might want so root has the changes too). See man alias, but here's an example: Code:
alias 1394='/sbin/modprobe ohci1394 && /sbin/modprobe raw1394' Cool |
wow, thanks a lot MasterC, i got it right now :D
Code:
lsmod > modules_loaded.txt |
All times are GMT -5. The time now is 05:18 PM. |