Re: Fwd: Re: interactive shell detection in shrc
Rhialto <[email protected]>
| Newsgroups | gmane.os.netbsd.devel.userlevel |
|---|---|
| Message-ID | <[email protected]> |
In bash, I use an alias '..' for 'cd ..', and '...' for 'cd ../..', and a few levels more. It is a very poor approximation of the AmigaShell feature where typing a directory name as a command does a 'cd' to that directory. I wish (ba)sh had such a feature... (I tried defining a command_not_found_handle function but that doesn't seem to work if the command that is not found is a directory). -Olaf. -- ___ Olaf 'Rhialto' Seibert <rhialto/at/falu.nl> \X/ There is no AI. There is just someone else's work. --I. Rose
signature.asc
(application/pgp-signature, 488 B)
-----BEGIN PGP SIGNATURE----- iQEzBAEBCAAdFiEEFVAhiiWjqgwBVdQAmYnGRWHD+9MFAmb8JWMACgkQmYnGRWHD +9MQYgf+M02UIKrEQ43oudwf+d1BDEbtgps/Ui9xEc1cfjM0njHtk6rLo1VA68Yr yi39+OUog42KJY6kXIblFegpoZE/rFb6nVhFWfS8Ii3uvDDAUUbnWWHI4qr2B5wh gwcVX8sFg3IQxpiqIELfsn0a8ZG0caSaV4PqaRAsamnJHDT2thUw/R78KVDGbiM0 jBK0p5ydKbiuMtOJZ8FZNtraMSBkpftgAS2gUXhQ68m7oYDq5Tum7wPbxObbIyFx os4wOYzI244OzVRhRZEd1S+/L/F6/B1sBiE98qt/GMz1G/oPQI6vqyT1RA5SO7zn VcL4oo7TxmiQMnlVqPzE1hOtzcmmQQ== =54QZ -----END PGP SIGNATURE-----