9 ms·
Zsh 5.0 released
- avolcano 14y agoThis file lists what's new since 4.2: https://github.com/zsh-users/zsh/blob/master/NEWS https://github.com/zsh-users/zsh/blob/master/NEWS
- stevenleeg 14y ago> Highlighting and colouring of the command line is supported. Does this mean something like syntax highlighting for the command line is now possible?
- shabble 14y agoI'm using zsh-syntax-highlighting[1] for that, which requires 4.3+, so it will work here. It's pretty great as a starting point, but it really could use more people writing highlighter plugins for different things. It's on my list of things to figure out how to do eventually. [1] https://github.com/zsh-users/zsh-syntax-highlighting https://github.com/zsh-users/zsh-syntax-highlighting
- Watabou 14y agoIt was already possible with https://github.com/zsh-users/zsh-syntax-highlighting https://github.com/zsh-users/zsh-syntax-highlighting. Fish is another shell that supports syntax highlighting out of the box.
- jcoder 14y agoI didn't realize that the zsh OS X currently ships with (4.3.11) isn't a stable release. Is that unusual for their built-ins?
- wtallis 14y agoI think many of the built-in are actually pretty out of date, but it does seem like Apple's not too concerned with following the upstream release schedule - one of the Xcode releases shipped with a slightly pre-3.0 release of LLVM's clang.
- duskwuff 14y agoApple has been responsible for a lot of recent LLVM development, so it's not as though they didn't know what they were getting into with that.
- mxey 14y agoEveryone ships with the development 4.3.x series, because stable Zsh releases are very rare and the development series is actually very stable. It is not just OS X by far.
- travisjeffery 14y agoUpdated Homebrew's Zsh formula for v5, give it a +1 if you want to see it updated faster: https://github.com/mxcl/homebrew/pull/13543 https://github.com/mxcl/homebrew/pull/13543
- Watabou 14y agoIs it possible to upgrade OS X's default zsh version to 5.0? How do I make that my login shell? When I go to login options, I don't see zsh 5.0 as an option. Does this mean I have to manually enter the path like /usr/local/zsh?
- jfb 14y ago% chsh yourusername
- drivebyacct2 14y agoDon't you mean `chsh -s /bin/zsh` ?
- jfb 14y agoThat works, too. But my way allows you to set your office number in the Gecos field!
- jevinskie 14y agoIt's /usr/local/bin/zsh. You have to add that path to /etc/shells before chsh will let you set it as a login shell. Happy zshing!
- Watabou 14y agoThank you, this works!
- ComputerGuru 14y agoGitHub still doesn't have a +1 button and you must still clutter the issue tracker with +1 comments? Wow.
- riobard 14y agoI know this has been asked thousands times before, but I want to know with this latest release, should I switch from Bash to Zsh now? What features do Zsh offer which are not in Bash? Currently I'm thinking about the Fish-style syntax highlighting. Fish is really nice, but it's not very compatible with the rest of the shell environment. So I'm back on Bash, but really miss the syntax highlighting. I need some good reasons to switch again...
- braindead_in 14y agoI switched solely for the reason Zsh has command substring search. It's a huge timesaver for some who spends more than 50% of time on the terminal.
- qznc 14y agoCtrl-R in bash?
- ComputerGuru 14y agoNo, substring searches. Ctrl+R in bash (by default, at least) will not search from the middle of a command. For instance, if the previous command was "hello", searching for "ello" will not bring it up. Whereas with zsh, it will.
- 14y ago
- it 14y agoI liked zsh a lot until I found that it would take a long time to cd into certain directories, I think they were ones with large git repositories. Maybe there's some way to shut that off but I went back to bash where I could be sure things would be responsive.
- Pawka 14y agoSame problem here. I think this is based on git plugin, since it displays current branch when you cd into directory. You can try disable that plugin.
- trinary 14y agoSome of the plugins included in contrib, as well as really feature heavy pre-made configs like oh-my-zsh can slow things down. They're good to use as a starting point, but you can make the features you actually want really fast with some research.
- mise 14y agoOne thing I have noticed is a delay in tab completion with the `git checkout` command. In my plain gnome-terminal with git it would instantly autocomplete when I pressed tab.
- davvid 14y agoWere you using oh-my-zsh? I have a few patches that speed up its git plugin by letting you opt-out of expensive operations. https://github.com/davvid/oh-my-zsh/commits/davvid https://github.com/davvid/oh-my-zsh/commits/davvid Last I checked, oh-my-zsh was in transition to a new version(?), and the pull requests have generally been ignored because of this.
- ernesth 14y agoMailing list archive message: http://www.zsh.org/mla/users/2012/msg00495.html http://www.zsh.org/mla/users/2012/msg00495.html Commit on the official repository: http://zsh.git.sourceforge.net/git/gitweb.cgi?p=zsh/zsh;a=commit;h=e27142d45686cacc6ed155e5045b97dd6243d44c http://zsh.git.sourceforge.net/git/gitweb.cgi?p=zsh/zsh;a=co...