On Fri, Oct 30, 2009 at 12:39 PM, steve <[email protected]> wrote:
> If that were implemented, consider this case ...
>
> $ ls pony
>
> ...how is the shell supposed to figure out whether you meant to list the
> file or directory in the current directory which is named pony or look up
> whether the user pony exists and list that users home directory ?
Bash built-in "cd" can be setup to do this:
export CDPATH=/home
cd /
cd pony # goes to /home/pony
man bash has the details on CDPATH variable. Does not work
with "ls" or other commands.
To the OP, don't customize the shell too much, as it may confuse
other users.
- Raja
_______________________________________________
To unsubscribe, email [email protected] with
"unsubscribe <password> <address>"
in the subject or body of the message.
http://www.ae.iitm.ac.in/mailman/listinfo/ilugc