Zsh
ohmyzsh
What is ohmyzsh?
Why use ohmyzsh?
-
Aliases:
~
,..
,/
d
: alias fordirs
: lists last visited directoriescd +n
:-
: alias forcd 0
1
: alias forcd 1
2
,…,9
: alias forcd 2
, …,cd 9
-
Plugins:
ohmyzsh is bundled with a lot of plugins, which allow you to take advantage of functionality of many sorts to your shell just by enabling them.
e.g.
git
,sudo
,last-working-dir
,globalias
,kubectl
[!TIP] For more information, see
How to use ohmyzsh?
-
Reload zsh config:
-
Restart terminal
-
Restart zsh session with:
-
omz reload
# Restart the current Zsh session and Oh My Zsh: omz reload
[!TIP] What does
omz reload
do? It simply runexec zsh
1 -
exec
exec zsh
-
-
caution
To reload your zsh config, don’t run source ~/.zshrc
Packages manager
Antidote
antidote is my current package manager for zsh
antidote allows deferred loading for plugins that support it.