SlackwareThis Forum is for the discussion of Slackware Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
It uses a whole bunch (see man tcsh), but the ones I use are /etc/csh.cshrc and ~/.cshrc. Actually, I want to keep the defaults apart from my own settings, so I just add the line source /etc/mycshrc at the end of /etc/csh.cshrc, and then I put all the stuff I want to be in common for all users (such as "set nobeep" ) in /etc/mycshrc.
trying...
I still like the bash "auto complete" (TAB key) regarding directory listings...
Still, I have to find out how to set aliases... I'm way too used to my "ll" (double L) list alias...
I think that the auto complete is always on, so that shouldn't be any problem. I have also
set correct = cmd
set autolist
in my setup. set correct = cmd helps in correcting misspelled command. I find it helpful sometimes, but I guess one can find it a bit disturbing. Can't remember what set autolist does
The ll alias is pretty common I think, but if it's missing in tcsh, it's very easy to add it. The only difference from bash with tcsh when you define aliases is that you don't use an equality sign: alias ll "ls -l"
Remember our trouble to update the time in the bash prompt? I was following a link in a post, and ended up here. Look in the section Temperature/Battery info in the Bash prompt a bit down. It seems that PROMPT_COMMAND should do the trick
Oops, this seems to be old news... Sorry BSlack, I haven't tried your prompt, but I see that you use exactly this
cheers bebo, I'm gonna have to have a look into that - on a related point either of you know why my root prompt when I 'su' has no colours? it's fine if I login root but if I su from my normal user account I don't get any colours, in the prompt or in listings etc? very wierd and I don't know what's causing it?!
Ah-ha! works perfectly with 'su -' it's all in glorious techni-colour! Thanks for that bebo, I think I'll alias 'su' to 'su -' and then that'll be another wee quirk sorted out just had a quick read through the su man pages and I see the small but rather important difference
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.