Re: command completion / spelling errors

2002-01-23 Thread Manuel A. Camacho Q.
David Talkington wrote: > consistently transposes the last two letters in /usr/locla. > In which case it would be safer to create an alias... ;) -Manuel. ___ Redhat-list mailing list [EMAIL PROTECTED] https://listman.redhat.com/mailman/listinfo/r

Re: command completion / spelling errors

2002-01-23 Thread David Talkington
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Ashley M. Kirchner wrote: >JW wrote: > >> [localhost:~] root# em tmpfile >> >> OK? rm tmpfile? > >I'm not sure about it matching commands (I've only ever seen it >match what's in PWD). However, as far as having a command such as >'rm' ask for ve

Re: command completion / spelling errors

2002-01-23 Thread David Talkington
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 JW wrote: >Hey, in addition to this.. in Darwin (i.e. Mac OS X) which uses tcsh >as the default, it will ask you for confirmation rather then just >taking off without you. for example: > >[localhost:~] root# em tmpfile > >OK? rm tmpfile? I did not

Re: command completion / spelling errors

2002-01-23 Thread Ashley M. Kirchner
JW wrote: > [localhost:~] root# em tmpfile > > OK? rm tmpfile? I'm not sure about it matching commands (I've only ever seen it match what's in PWD). However, as far as having a command such as 'rm' ask for verification, that's a matter of aliasing it to 'rm -i'... -- H | "Life is the ar

Re: command completion / spelling errors

2002-01-23 Thread JW
At 07:10 PM 1/23/2002 -0800, you wrote: >-BEGIN PGP SIGNED MESSAGE- >In bash: > >shopt -s cdspell > >But I can't step away from this without being just a bit pedantic ... >I strongly advise against using that option as root, where a typo can >mean disaster, and you don't want the system

Re: [RH List] Re: command completion / spelling errors

2002-01-23 Thread Ashley M. Kirchner
David Talkington wrote: > Or for a geek like me, who > consistently transposes the last two letters in /usr/locla. Why'd you think I ask. :) AMK4 -- H | "Life is the art of drawing without an eraser." - John Gardner +---

Re: command completion / spelling errors

2002-01-23 Thread David Talkington
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Ashley M. Kirchner wrote: > >When one starts typing in a filename/directory name on a bash >prompt, you can hit TAB and it auto-completes it. In bash: shopt -s cdspell But I can't step away from this without being just a bit pedantic ... I

Re: command completion / spelling errors

2002-01-23 Thread Hal Burgiss
On Wed, Jan 23, 2002 at 07:54:28PM -0700, Ashley M. Kirchner wrote: > I _think_ this is something set in bash since those machines are > also using bash. The question is, _what_? Does anyone know? shopt -s cdspell -- Hal Burgiss ___ Redhat-list

command completion / spelling errors

2002-01-23 Thread Ashley M. Kirchner
When one starts typing in a filename/directory name on a bash prompt, you can hit TAB and it auto-completes it. However, I have seen systems (in fact I have three of them that shows this behavior) where if you mistyped something, be it uppercase/lowercase mismatch, or spelling error, it'l