Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

I've been using it for the last 6 or 7 years and I can only remember one specific feature I use a lot: "unset HISTFILE" to disable history when I need to run commands with passwords.

Other than that, oh-my-zsh with git, systemd, and fzf plugins. Saves a lot of typing.

The main selling point for me is how easy it is to setup.





Space before the command will have the same effect

Just out of curiosity, what sort of typing do those plugins save in comparison to doing it in bash? Can you give some examples?

The git and systemd ones create several aliases for frequent commands:

git commit -> gc

git status --short -b -> gsb

git checkout -> gco

systemctl --user restart -> scu-restart

Nothing that you couldn't come up with yourself, but I've been using for so long it has become a standard for me.

The fzf plugin enables a fuzzy finder when you hit ctrl+r or ctrl+t. You need fzf installed.


I remember when I switched to zsh solely for SUNKEYBOARDHACK.

Prefixing a space on that command will keep it out of history.



Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: