View previous topic :: View next topic |
Author |
Message |
lowbatt Tux's lil' helper
Joined: 13 Jul 2002 Posts: 83
|
Posted: Mon Jul 15, 2002 7:13 pm Post subject: Directory colors and cd.. |
|
|
Ok I got directory color's to work by typing ls --color but ls doesnt do it. where can I go to change it so ls automaticaly uses the color option?
also I have a habbit of typing cd.. to go up a directory level and it doesnt work. IS there a place i can go and set cd.. to work just like cd .. I hve a feeeling these are in the same place and releated.
Thanks ahead of time. This has got to be the best linux community I've been in _________________ Information is pure. Take a knife, for example. You can use it to cut up vegetables, butter your bread, etc. Or you can use it as a weapon. The way in which information exists in its many forms leaves for us the decision how to use it. - Maynard -TOOL |
|
Back to top |
|
|
lowbatt Tux's lil' helper
Joined: 13 Jul 2002 Posts: 83
|
Posted: Mon Jul 15, 2002 7:15 pm Post subject: |
|
|
ok I figgured this out as soon as I posted it. thanks anyways _________________ Information is pure. Take a knife, for example. You can use it to cut up vegetables, butter your bread, etc. Or you can use it as a weapon. The way in which information exists in its many forms leaves for us the decision how to use it. - Maynard -TOOL |
|
Back to top |
|
|
pjp Administrator
Joined: 16 Apr 2002 Posts: 20067
|
Posted: Mon Jul 15, 2002 7:17 pm Post subject: |
|
|
Can probably be done elsewhere too, I set mine in ~/.bash_profile:
Code: | alias ls="ls -FC --color=always" | Not sure how creative you can get with aliases.
seems to work. _________________ Quis separabit? Quo animo? |
|
Back to top |
|
|
pjp Administrator
Joined: 16 Apr 2002 Posts: 20067
|
Posted: Mon Jul 15, 2002 7:18 pm Post subject: |
|
|
lowbatt wrote: | ok I figgured this out as soon as I posted it. thanks anyways | _________________ Quis separabit? Quo animo? |
|
Back to top |
|
|
masseya Bodhisattva
Joined: 17 Apr 2002 Posts: 2602 Location: Baltimore, MD
|
Posted: Mon Jul 15, 2002 7:51 pm Post subject: |
|
|
For anyone who cares there are a couple of topics in Tips and Tricks that deal with this.
Extra Informative Bash Prompt
Tips for Terminals _________________ if i never try anything, i never learn anything..
if i never take a risk, i stay where i am.. |
|
Back to top |
|
|
gerfalcon n00b
Joined: 28 Jun 2002 Posts: 4
|
Posted: Tue Jul 16, 2002 3:41 am Post subject: or ... |
|
|
Or you could convert to zsh and then you could just type
..
to move up one directory. Plus zsh has some other really cool stuff so I would recommend checking it out.
http://zsh.sourceforge.net |
|
Back to top |
|
|
pjp Administrator
Joined: 16 Apr 2002 Posts: 20067
|
Posted: Tue Jul 16, 2002 3:42 am Post subject: |
|
|
Portage also has zsh in it. _________________ Quis separabit? Quo animo? |
|
Back to top |
|
|
|