1 |
maillog: 12/03/2004-23:40:52(+0200): Sami Näätänen types |
2 |
> This would be fine as an option, and I would make it a multi state |
3 |
> option like this: |
4 |
> |
5 |
> Off: Default |
6 |
> step one: auto cd if the 'command' equals '..' |
7 |
> step two: auto cd if the 'command' starts with '.', '..' or '/' |
8 |
> step three: auto cd when any directory path has been given as command |
9 |
|
10 |
What about an option to only do the chdir if the path ends in '/'. I.e.: |
11 |
|
12 |
/tmp/ --> chdirs to /tmp |
13 |
/tmp --> error message |
14 |
|
15 |
This way one would not accidentally execute a program when they wanted to |
16 |
chdir instead. |
17 |
|
18 |
-- |
19 |
/ Georgi Georgiev / Diplomacy is the art of saying "nice doggy" / |
20 |
\ chutz@×××.net \ until you can find a rock. \ |
21 |
/ +81(90)6266-1163 / / |
22 |
|
23 |
-- |
24 |
gentoo-dev@g.o mailing list |