|
|
Set Tab-key completion to cycle through possibilities
Another option is zsh. To the average user it looks just like bash. The feature described in this hint is built in and works like a merge of bash's functionality and tcsh's just by hitting tab multiple times (it cycles and shows the menu).
Some other great features of zsh:
If you're a bash user and also use vi or emacs heavily, zsh is definitely worth a look if only for the key-bindings. Also, it's a great replacement for ksh. If you're interested check out http://zsh.sunsite.dk/FAQ/. I'm pretty sure it's standard on OS X, but I've been using it so long I can't be sure. Just my $0.02
Set Tab-key completion to cycle through possibilities
This is isn't a very productive comment but...I have been using zsh on Linux and Mac OS X for years....and well
Set Tab-key completion to cycle through possibilities
Thirded.
My own absolute must-have feature is the recursive globbing. Any shell will expand * to a list of files in the current folder; but zsh will expand **/* to a list of files in the current folder and every folder inside it, recursively. It's far more powerful than that, though -- you can easily get it to include or exclude files based on their size, attributes, owner, etc., and you can sort the results. It basically does everything find does, only more neatly and concisely, and because it's right there in the shell you don't have to faff around with quoting or pipelines. zsh has lots more features, too, but that's the one I can't do without. I don't understand why more people don't use it! ---
Set Tab-key completion to cycle through possibilities
Yea, zsh is the dog's b*****ks.
put
in your .zshrc and things like man tab will expand to all possible man pages, and tar xf hello.tar tab will expand to all files inside the tar file.
Just about all normal commands are catered for and it's fairly easy to extend. I just don't see why people get so excited about bash, and don't get me started on [t]csh users.
Set Tab-key completion to cycle through possibilities
vi or emacs key-bindings. If you're a vi user, you can use Esc-0-c-w for instance to change the command on a long line with many options. Most basic vi movement and editing functionality works and I'm pretty sure that's true for emacs bindings as well.for vi bindings in bash
for emacs bindings in bash
thank you so much!
.
Set Tab-key completion to cycle through possibilities
I really, really want to switch to zsh, but the damn [Process Completed] bug is keeping me on bash.
"Process completed" bug
According to radiola's post in "10.4: Avoid a Process Completed error in Terminal" that bug is fixed in zsh 4.2.5.
What's always kept me from migrating to zsh is the way it displays completions and certain other "pre-finished" command output underneath the current input prompt/line. I still prefer the traditional style of displaying the text, then redrawing the prompt/input line underneath that. Otherwise my mind gets tricked into thinking that completion text is output from the command I haven't actually finished typing yet. It's easier just comparing the styles yourself than it is for me to explain their differences. :-) |
SearchFrom our Sponsor...Latest Mountain Lion HintsWhat's New:HintsNo new hintsComments last 2 daysNo new commentsLinks last 2 weeksNo recent new linksWhat's New in the Forums?
Hints by TopicNews from Macworld
From Our Sponsors |
|
Copyright © 2014 IDG Consumer & SMB (Privacy Policy) Contact Us All trademarks and copyrights on this page are owned by their respective owners. |
Visit other IDG sites: |
|
|
|
Created this page in 0.39 seconds |
|