D******n 发帖数: 2836 | 1 it is very annoying, have to type tab two times. In csh i only need to type
tab one time.
and also if i have a variable for a directory say, mydir,
%cd $mydi[tab]
will give me
%cd $mydir[space]
this is very annoying to , i dont want the space.
how to solve the above two probelms?
thks |
r*******y 发帖数: 1081 | 2 google.
type
【在 D******n 的大作中提到】 : it is very annoying, have to type tab two times. In csh i only need to type : tab one time. : and also if i have a variable for a directory say, mydir, : %cd $mydi[tab] : will give me : %cd $mydir[space] : this is very annoying to , i dont want the space. : how to solve the above two probelms? : thks
|
D******n 发帖数: 2836 | 3 i tried
【在 r*******y 的大作中提到】 : google. : : type
|
L******k 发帖数: 2945 | 4 i only need to tab one time in bash...
type
【在 D******n 的大作中提到】 : it is very annoying, have to type tab two times. In csh i only need to type : tab one time. : and also if i have a variable for a directory say, mydir, : %cd $mydi[tab] : will give me : %cd $mydir[space] : this is very annoying to , i dont want the space. : how to solve the above two probelms? : thks
|
D******n 发帖数: 2836 | 5 i mean when it is ambigious, bash will beep first , and then u have to type
tab again to see the list. while in tcsh , only one tab is needed.
【在 L******k 的大作中提到】 : i only need to tab one time in bash... : : type
|
L******k 发帖数: 2945 | 6 my bash doesnt beep...just tab once
type
【在 D******n 的大作中提到】 : i mean when it is ambigious, bash will beep first , and then u have to type : tab again to see the list. while in tcsh , only one tab is needed.
|
p*****s 发帖数: 344 | 7 try harder, google man bash, search for
show-all-if-ambiguous
show-all-if-unmodified
【在 D******n 的大作中提到】 : i tried
|
D******n 发帖数: 2836 | 8 Thanks a lot, it worked. Problem 1 is solved but problem 2 is still unsolved
, i have to type one more "/" before TAB to make sure the system interpret
it as a directory...
【在 p*****s 的大作中提到】 : try harder, google man bash, search for : show-all-if-ambiguous : show-all-if-unmodified
|
p*****s 发帖数: 344 | 9 use bash smart tab completion
search for bash_completion
unsolved
interpret
【在 D******n 的大作中提到】 : Thanks a lot, it worked. Problem 1 is solved but problem 2 is still unsolved : , i have to type one more "/" before TAB to make sure the system interpret : it as a directory...
|