Skip to content

Instantly share code, notes, and snippets.

@joejag
Last active August 29, 2015 14:09
Show Gist options
  • Save joejag/faae85a9f9fd61b66bff to your computer and use it in GitHub Desktop.
Save joejag/faae85a9f9fd61b66bff to your computer and use it in GitHub Desktop.
Reasons to Zsh

Big Ticket

  • Tab complete everything
  • Community driven standard (plugins is a first class idea in Zsh)
  • 99% of what you do in bash already works

Things to show

Bash: No cycling, no extra info (just a list), breaks instead of updating in place

  • cd
  • (only cds into directories)
  • ls /u/l
  • Type part of command, press up
  • Expand variables $PATH (useful for $PWD)
  • Shared command history
  • kill java
  • ls -
  • Git aliases, git checkout status, git branch name, git commit -
  • Shows when last command failed
  • chomd
  • service
  • Globbing: ls (m0), ls -l **/, ls **/Rakefile, ls -l **/*(Lm+1), wc **/*java, (rm example with tab)
  • Rake
  • Auto complete on file names despite case
  • decent base alises
  • .. ... ....
  • Edit cmd in vim: CTRL+X CTRL+E
  • Names your tabs after the running command
  • uninstall_oh_my_zsh
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment