- Don't use
oh-my-zsh
, why?- it add too many alias
- it makes some things hard to modify
- you have to learn how to change the prompt
- if you don't know how it works, it's hard to make changes
- you can do everything it does easily
- use a bare
.zshrc
- here is what i use -.zshrc
- get list of all alias ->
print -rl -- ${(k)aliases}
- get list of all functions you use ->
print -rl -- ${(k)functions}
- run the original command instead of the alias -> type it inside single quotes, e.g. -
'ls'
- is
zsh
starting slow?? - find out using/usr/bin/time zsh -i -c exit
- profiling
zsh
addzmodload zsh/zprof
to top of.zshrc
andzprof
to bottom OR- use
zsh -xv
and see which part is taking more time while loading.
- use
- here are some
zsh
plugins you should usezsh-syntax-highlighting
zsh-autosuggestions.zsh
zsh_command_not_found
-
Notifications
You must be signed in to change notification settings - Fork 0
totoro-ghost/zsh-hacks
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
About
Simple zsh config guide.