由买买提看人间百态

boards

本页内容为未名空间相应帖子的节选和存档,一周内的贴子最多显示50字,超过一周显示500字 访问原贴
Linux版 - autocompletion in Bash
相关主题
A simple Bash question about changing directoryzsh的确好用,希望主流distro用这个做default
问问应该学用那个shell?怎么做一个简单的云存储?
bash 中如何将命令的返回值存到变量中?求助偶也文个vi的问题
tcsh有没有办法用bash的那个 双击tab功能?我也在线升级10.04了。完美
bash, csh, ...现在哪个shell最牛x ?大吼一声
问题win上面有什么比较好的shell么?
求助一个bash脚本问题怎么从script中把环境变量传回到当前shell中?
不用安装的trash bin?请问tcsh里如何将环境变量临时改变且传递给一个命令?
相关话题的讨论汇总
话题: bash话题: tab话题: type话题: mydir
进入Linux版参与讨论
1 (共1页)
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...

1 (共1页)
进入Linux版参与讨论
相关主题
请问tcsh里如何将环境变量临时改变且传递给一个命令?bash, csh, ...现在哪个shell最牛x ?
问一个关于awk & shell的问题问题
linux tcsh下less的问题求助一个bash脚本问题
screen窗口的title能不能设成自动刷新路径?不用安装的trash bin?
A simple Bash question about changing directoryzsh的确好用,希望主流distro用这个做default
问问应该学用那个shell?怎么做一个简单的云存储?
bash 中如何将命令的返回值存到变量中?求助偶也文个vi的问题
tcsh有没有办法用bash的那个 双击tab功能?我也在线升级10.04了。完美
相关话题的讨论汇总
话题: bash话题: tab话题: type话题: mydir