Re: Default editor
- From: Smoot Carl-Mitchell <smoot@xxxxxxx>
- Date: Sat, 13 Sep 2008 13:13:09 -0700
On Sat, 2008-09-13 at 13:37 -0600, Karl Larsen wrote:
Well for some reason it does not work for me at all. In a terminal I
write sudo vim /etc/X11 and then a Tab and it looks like /etc/X11\ and
it does not work. What have I done wrong?
Typing
vi /etc/X11<tab>
will complete the directory name with a trailing "/".
At this point typing <tab><tab> will show you the list of files in
the /etc/X11 directory. What the shell is doing when you type the first
<tab> is returning the common prefix of all the files in the /etc/X11
directory which in this case is the <null> string. The 2nd <tab>
enumerates all the choices of files in the /etc/X11 directory with the
common prefix. In this case since the common prefix is the null string,
it enumerates all the files in /etc/X11/.
--
Smoot Carl-Mitchell
System/Network Architect
smoot@xxxxxxx
+1 480 922 7313
cell: +1 602 421 9005
--
ubuntu-users mailing list
ubuntu-users@xxxxxxxxxxxxxxxx
Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-users
- Follow-Ups:
- Re: Default editor
- From: Karl Larsen
- Re: Default editor
- References:
- Default editor
- From: Jason Wilson
- Re: Default editor
- From: Nigel Henry
- Re: Default editor
- From: Knapp
- Re: Default editor
- From: Nigel Henry
- Re: Default editor
- From: Knapp
- Re: Default editor
- From: Karl Larsen
- Default editor
- Prev by Date: Re: Sweeping the Machine
- Next by Date: Re: connections
- Previous by thread: Re: Default editor
- Next by thread: Re: Default editor
- Index(es):