1
0
Fork 0
mirror of https://github.com/ohmyzsh/ohmyzsh.git synced 2024-12-22 12:21:58 +00:00
Commit graph

5 commits

Author SHA1 Message Date
Jacob Tomaw
1ba0af650a Use safer append to hook function arrays (#8406)
Use add-zsh-hook to add functions to hooks. That way they won't be added again
when doing `source ~/.zshrc` multiple times.

Co-authored-by: Marc Cornellà <marc.cornella@live.com>
2019-11-19 18:47:12 +01:00
Letian Zhang
9c1255d358 fix missing add-zsh-hook in pygmalion.zsh-theme
Fix "command not found: add-zsh-hook" since #3053 removes `autoload -U add-zsh-hook`
2014-09-01 09:49:31 +08:00
Philip Hofstetter
3445dada95 correctly handle path names with spaces 2011-12-29 14:35:38 +01:00
Philip Hofstetter
77045230f4 make pygmalion theme use two lines when needed
if the length of the prompt (excluding color escapes) exceeds 40
characters, emit the arrow prompt on its own line

This helps a lot on smaller terminals
2011-12-28 15:58:24 +01:00
Dominick LoBraico
d25fb095a9 forks miloshadzic theme to add more directory info as well as user and host info 2011-12-09 12:18:54 -06:00