diff --git a/README.md b/README.md index 9fbe53f1..8b3cb0dc 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,4 @@ -Oh My Zsh +Prezto ========= OMZ is a configuration framework for [Zsh][1] that enriches the command line @@ -8,17 +8,17 @@ and prompt themes. Installation ------------ -Oh My Zsh will work with any recent release of Zsh, but the minimum recommended +Prezto will work with any recent release of Zsh, but the minimum recommended version is 4.3.10. 1. Clone the repository: - git clone --recursive https://github.com/sorin-ionescu/oh-my-zsh.git ~/.oh-my-zsh + git clone --recursive https://github.com/sorin-ionescu/prezto.git ~/.prezto 2. Create a new Zsh configuration by copying the Zsh configuration file runcoms provided: - for rcfile in ~/.oh-my-zsh/runcoms/z{shenv,shrc,login,logout}; do + for rcfile in ~/.prezto/runcoms/z{shenv,shrc,login,logout}; do cp -f $rcfile ~/.$rcfile:t done @@ -49,14 +49,14 @@ directories end up at the tail of the array. ### Troubleshooting -If you are not able to find certain commands after switching to *Oh My Zsh*, +If you are not able to find certain commands after switching to *Prezto*, modify the `PATH` variable in *~/.zshenv* then open a new Zsh terminal window or tab. Usage ----- -Oh My Zsh has many features disabled by default. Read the source code and +Prezto has many features disabled by default. Read the source code and accompanying README files to learn of what is available. ### Modules @@ -83,7 +83,7 @@ how to use Git, follow this [tutorial][5] and bookmark this [reference][6]. ### Completions -Submit program completions to the [zsh-completions][7] project. The Oh My Zsh +Submit program completions to the [zsh-completions][7] project. The Prezto completions directory will be synchronized against it. Resources @@ -161,7 +161,7 @@ SOFTWARE. [6]: http://gitref.org [7]: https://github.com/zsh-users/zsh-completions [8]: http://www.bash2zsh.com/zsh_refcard/refcard.pdf -[9]: https://github.com/sorin-ionescu/oh-my-zsh/contributors +[9]: https://github.com/sorin-ionescu/prezto/contributors [10]: http://gun.io/blog/how-to-github-fork-branch-and-pull-request [11]: http://tbaggery.com/2008/04/19/a-note-about-git-commit-messages.html [12]: https://help.github.com/articles/using-pull-requests diff --git a/helper.zsh b/helper.zsh index ef152599..5a00b2ab 100644 --- a/helper.zsh +++ b/helper.zsh @@ -30,7 +30,7 @@ function autoloadable { ( unfunction $1 ; autoload -U +X $1 ) &> /dev/null } -# Loads Oh My Zsh modules. +# Loads Prezto modules. function omodload { local -a omodules local omodule @@ -48,13 +48,13 @@ function omodload { # Extended globbing is needed for listing autoloadable function directories. setopt LOCAL_OPTIONS EXTENDED_GLOB - # Load Oh My Zsh functions. + # Load Prezto functions. for ofunction in $OMZ/modules/${^omodules}/functions/$~ofunction_glob; do autoload -Uz "$ofunction" done } - # Load Oh My Zsh modules. + # Load Prezto modules. for omodule in "$omodules[@]"; do if zstyle -t ":omz:module:$omodule" loaded; then continue @@ -79,7 +79,7 @@ function omodload { # directories. setopt LOCAL_OPTIONS EXTENDED_GLOB - # Unload Oh My Zsh functions. + # Unload Prezto functions. for ofunction in $OMZ/modules/$omodule/functions/$~ofunction_glob; do unfunction "$ofunction" done diff --git a/init.zsh b/init.zsh index 9b466450..e274bd5d 100644 --- a/init.zsh +++ b/init.zsh @@ -1,5 +1,5 @@ # -# Initializes Oh My Zsh. +# Initializes Prezto. # # Authors: # Robby Russell diff --git a/modules/archive/README.md b/modules/archive/README.md index c997ddb2..398d0037 100644 --- a/modules/archive/README.md +++ b/modules/archive/README.md @@ -37,5 +37,5 @@ Authors - [Sorin Ionescu](https://github.com/sorin-ionescu) -[1]: https://github.com/sorin-ionescu/oh-my-zsh/issues +[1]: https://github.com/sorin-ionescu/prezto/issues diff --git a/modules/command-not-found/README.md b/modules/command-not-found/README.md index c92e66d2..91a67f25 100644 --- a/modules/command-not-found/README.md +++ b/modules/command-not-found/README.md @@ -11,5 +11,5 @@ Authors - [Joseph Booker](https://github.com/sargas) [1]: https://code.launchpad.net/command-not-found -[2]: https://github.com/sorin-ionescu/oh-my-zsh/issues +[2]: https://github.com/sorin-ionescu/prezto/issues diff --git a/modules/completion/README.md b/modules/completion/README.md index 1cee4244..83034b5d 100644 --- a/modules/completion/README.md +++ b/modules/completion/README.md @@ -20,5 +20,5 @@ Authors - [Sorin Ionescu](https://github.com/sorin-ionescu) [1]: https://github.com/zsh-users/zsh-completions -[2]: https://github.com/sorin-ionescu/oh-my-zsh/issues +[2]: https://github.com/sorin-ionescu/prezto/issues diff --git a/modules/directory/README.md b/modules/directory/README.md index 59a8698e..6572bb72 100644 --- a/modules/directory/README.md +++ b/modules/directory/README.md @@ -32,5 +32,5 @@ Authors - [James Cox](https://github.com/imajes) - [Sorin Ionescu](https://github.com/sorin-ionescu) -[1]: https://github.com/sorin-ionescu/oh-my-zsh/issues +[1]: https://github.com/sorin-ionescu/prezto/issues diff --git a/modules/dpkg/README.md b/modules/dpkg/README.md index 6824b8dc..d871f599 100644 --- a/modules/dpkg/README.md +++ b/modules/dpkg/README.md @@ -38,5 +38,5 @@ Authors - [Sorin Ionescu](https://github.com/sorin-ionescu) [1]: http://wiki.debian.org/Teams/Dpkg -[2]: https://github.com/sorin-ionescu/oh-my-zsh/issues +[2]: https://github.com/sorin-ionescu/prezto/issues diff --git a/modules/environment/README.md b/modules/environment/README.md index 01a2ec1b..02918611 100644 --- a/modules/environment/README.md +++ b/modules/environment/README.md @@ -22,5 +22,5 @@ Authors - [Sorin Ionescu](https://github.com/sorin-ionescu) -[1]: https://github.com/sorin-ionescu/oh-my-zsh/issues +[1]: https://github.com/sorin-ionescu/prezto/issues diff --git a/modules/gnu-utility/README.md b/modules/gnu-utility/README.md index da352506..d643c229 100644 --- a/modules/gnu-utility/README.md +++ b/modules/gnu-utility/README.md @@ -29,5 +29,5 @@ Authors - [Sorin Ionescu](https://github.com/sorin-ionescu) -[1]: https://github.com/sorin-ionescu/oh-my-zsh/issues +[1]: https://github.com/sorin-ionescu/prezto/issues diff --git a/modules/gpg-agent/README.md b/modules/gpg-agent/README.md index 3107c805..e1fc158d 100644 --- a/modules/gpg-agent/README.md +++ b/modules/gpg-agent/README.md @@ -12,5 +12,5 @@ Authors - [Sorin Ionescu](https://github.com/sorin-ionescu) [1]: http://linux.die.net/man/1/gpg-agent -[2]: https://github.com/sorin-ionescu/oh-my-zsh/issues +[2]: https://github.com/sorin-ionescu/prezto/issues diff --git a/modules/haskell/README.md b/modules/haskell/README.md index 5382f929..512350d5 100644 --- a/modules/haskell/README.md +++ b/modules/haskell/README.md @@ -25,5 +25,5 @@ Authors - [Sebastian Wiesner](https://github.com/lunaryorn) [1]: http://www.haskell.org/cabal/ -[2]: https://github.com/sorin-ionescu/oh-my-zsh/issues +[2]: https://github.com/sorin-ionescu/prezto/issues diff --git a/modules/history-substring-search/README.md b/modules/history-substring-search/README.md index b1ad60b8..21d1d6b3 100644 --- a/modules/history-substring-search/README.md +++ b/modules/history-substring-search/README.md @@ -1,7 +1,7 @@ History Substring Search ======================== -Integrates [zsh-history-substring-search][1] into Oh My Zsh, which implements +Integrates [zsh-history-substring-search][1] into Prezto, which implements the [Fish shell][2]'s history search feature, where the user can type in any part of a previously entered command and press up and down to cycle through matching commands. @@ -45,5 +45,5 @@ Authors [1]: https://github.com/zsh-users/zsh-history-substring-search [2]: http://fishshell.com -[3]: https://github.com/sorin-ionescu/oh-my-zsh/issues +[3]: https://github.com/sorin-ionescu/prezto/issues diff --git a/modules/history-substring-search/init.zsh b/modules/history-substring-search/init.zsh index 86fa1039..3f34cb7d 100644 --- a/modules/history-substring-search/init.zsh +++ b/modules/history-substring-search/init.zsh @@ -1,5 +1,5 @@ # -# Integrates history-substring-search into Oh My Zsh. +# Integrates history-substring-search into Prezto. # # Authors: # Suraj N. Kurapati diff --git a/modules/history/README.md b/modules/history/README.md index 0402a622..7875ca58 100644 --- a/modules/history/README.md +++ b/modules/history/README.md @@ -40,5 +40,5 @@ Authors - [Sorin Ionescu](https://github.com/sorin-ionescu) [1]: http://zsh.sourceforge.net/Guide/zshguide02.html#l16 -[2]: https://github.com/sorin-ionescu/oh-my-zsh/issues +[2]: https://github.com/sorin-ionescu/prezto/issues diff --git a/modules/macports/README.md b/modules/macports/README.md index 7a9681ae..9145d489 100644 --- a/modules/macports/README.md +++ b/modules/macports/README.md @@ -22,5 +22,5 @@ Authors - [Matt Cable](https://github.com/curiousstranger) - [Sorin Ionescu](https://github.com/sorin-ionescu) -[1]: https://github.com/sorin-ionescu/oh-my-zsh/issues +[1]: https://github.com/sorin-ionescu/prezto/issues diff --git a/modules/node/README.md b/modules/node/README.md index 4ebbde97..58f2b082 100644 --- a/modules/node/README.md +++ b/modules/node/README.md @@ -19,5 +19,5 @@ Authors [1]: http://nodejs.org [2]: http://npmjs.org [3]: http://nodejs.org/api -[4]: https://github.com/sorin-ionescu/oh-my-zsh/issues +[4]: https://github.com/sorin-ionescu/prezto/issues diff --git a/modules/osx/README.md b/modules/osx/README.md index 7a53d94f..bb74ef55 100644 --- a/modules/osx/README.md +++ b/modules/osx/README.md @@ -32,5 +32,5 @@ Authors [1]: http://www.apple.com/macosx/ [2]: http://bruji.com/bwana/ [3]: http://www.iterm2.com/ -[4]: https://github.com/sorin-ionescu/oh-my-zsh/issues +[4]: https://github.com/sorin-ionescu/prezto/issues diff --git a/modules/pacman/README.md b/modules/pacman/README.md index 8e1e120f..b3d8cf78 100644 --- a/modules/pacman/README.md +++ b/modules/pacman/README.md @@ -61,5 +61,5 @@ Authors [1]: http://www.archlinux.org/pacman/ [2]: http://archlinux.fr/yaourt-en -[3]: https://github.com/sorin-ionescu/oh-my-zsh/issues +[3]: https://github.com/sorin-ionescu/prezto/issues diff --git a/modules/perl/README.md b/modules/perl/README.md index 742bad55..d082275b 100644 --- a/modules/perl/README.md +++ b/modules/perl/README.md @@ -65,5 +65,5 @@ Authors [1]: http://www.perl.org [2]: http://perlbrew.pl -[3]: https://github.com/sorin-ionescu/oh-my-zsh/issues +[3]: https://github.com/sorin-ionescu/prezto/issues diff --git a/modules/prompt/README.md b/modules/prompt/README.md index 98cd1e33..643d76f2 100644 --- a/modules/prompt/README.md +++ b/modules/prompt/README.md @@ -20,5 +20,5 @@ Authors - [Sorin Ionescu](https://github.com/sorin-ionescu) [1]: http://zsh.sourceforge.net/Doc/Release/User-Contributions.html#Prompt-Themes -[2]: https://github.com/sorin-ionescu/oh-my-zsh/issues +[2]: https://github.com/sorin-ionescu/prezto/issues diff --git a/modules/prompt/functions/prompt_hapless_setup b/modules/prompt/functions/prompt_hapless_setup new file mode 100644 index 00000000..83a921fd --- /dev/null +++ b/modules/prompt/functions/prompt_hapless_setup @@ -0,0 +1,101 @@ +# +# A theme based on Steve Losh's Extravagant Prompt with vcs_info integration. +# Requires hg-prompt +# +# Authors: +# Steve Losh +# Bart Trojanowski +# Brian Carper +# steeef +# Sorin Ionescu +# haplesshero13 +# +# Left prompt is modified version of the Bash prompt by AntiGenX +# +# +# Screenshots: +# TBA +# + +function prompt_char { + git branch >/dev/null 2>/dev/null && echo 'λ' && return + hg root >/dev/null 2>/dev/null && echo '☿' && return + echo '$' +} + +function hg_prompt_info { + hg prompt "(${_prompt_steeef_colors[1]}{branch}%f${_prompt_steeef_colors[2]}{status|modified|unknown}%f{update})" 2>/dev/null +} + +function rvm_info { + if which rvm-prompt &> /dev/null; then + echo "${_prompt_steeef_colors[5]}‹$(rvm-prompt i v g)›" + else + if which rbenv &> /dev/null; then + echo "${_prompt_steeef_colors[5]}‹$(rbenv version | sed -e "s/ (set.*$//")›" + fi + fi +} + +function prompt_steeef_precmd { + # Check for untracked files or updated submodules since vcs_info does not. + if [[ -n $(git ls-files --other --exclude-standard 2> /dev/null) ]]; then + branch_format="(${_prompt_steeef_colors[1]}%b%f%u%c${_prompt_steeef_colors[4]}●%f)" + else + branch_format="(${_prompt_steeef_colors[1]}%b%f%u%c)" + fi + + zstyle ':vcs_info:*:prompt:*' formats "${branch_format}" + + vcs_info 'prompt' +} + +function prompt_steeef_setup { + setopt LOCAL_OPTIONS + unsetopt XTRACE KSH_ARRAYS + prompt_opts=(cr percent subst) + + # Load required functions. + autoload -Uz add-zsh-hook + autoload -Uz vcs_info + + # Add hook for calling vcs_info before each command. + add-zsh-hook precmd prompt_steeef_precmd + + _prompt_steeef_colors=( + "%F{cyan}" + "%F{yellow}" + "%F{magenta}" + "%F{red}" + "%F{green}" + ) + + # Formats: + # %b - branchname + # %u - unstagedstr (see below) + # %c - stagedstr (see below) + # %a - action (e.g. rebase-i) + # %R - repository path + # %S - path in the repository + local branch_format="(${_prompt_steeef_colors[1]}%b%f%u%c)" + local action_format="(${_prompt_steeef_colors[5]}%a%f)" + local unstaged_format="${_prompt_steeef_colors[2]}●%f" + local staged_format="${_prompt_steeef_colors[5]}●%f" + local return_code='%(?..${_prompt_steeef_colors[4]}%? ↵%f)' + + # Set vcs_info parameters. + zstyle ':vcs_info:*' enable git + zstyle ':vcs_info:*:prompt:*' check-for-changes true + zstyle ':vcs_info:*:prompt:*' unstagedstr "${unstaged_format}" + zstyle ':vcs_info:*:prompt:*' stagedstr "${staged_format}" + zstyle ':vcs_info:*:prompt:*' actionformats "${branch_format}${action_format}" + zstyle ':vcs_info:*:prompt:*' formats "${branch_format}" + zstyle ':vcs_info:*:prompt:*' nvcsformats "" + + # Define prompts. + PROMPT="${_prompt_steeef_colors[3]}%n%f@${_prompt_steeef_colors[2]}%m%f:${_prompt_steeef_colors[1]}%~%f"'$(prompt_char) ' + RPROMPT="${return_code} "'${vcs_info_msg_0_}$(hg_prompt_info)$(rvm_info)' +} + +prompt_steeef_setup "$@" + diff --git a/modules/python/README.md b/modules/python/README.md index 6a6bd0e3..b582b231 100644 --- a/modules/python/README.md +++ b/modules/python/README.md @@ -43,5 +43,5 @@ Authors [2]: http://www.doughellmann.com/projects/virtualenvwrapper/ [3]: http://pypi.python.org/pypi/virtualenv [4]: http://www.doughellmann.com/docs/virtualenvwrapper/#introduction -[5]: https://github.com/sorin-ionescu/oh-my-zsh/issues +[5]: https://github.com/sorin-ionescu/prezto/issues diff --git a/modules/rails/README.md b/modules/rails/README.md index f250d68c..451b6dff 100644 --- a/modules/rails/README.md +++ b/modules/rails/README.md @@ -30,5 +30,5 @@ Authors - [Sorin Ionescu](https://github.com/sorin-ionescu) [1]: http://rubyonrails.org -[2]: https://github.com/sorin-ionescu/oh-my-zsh/issues +[2]: https://github.com/sorin-ionescu/prezto/issues diff --git a/modules/rsync/README.md b/modules/rsync/README.md index 8ad42350..2d2e6566 100644 --- a/modules/rsync/README.md +++ b/modules/rsync/README.md @@ -24,5 +24,5 @@ Authors [1]: http://rsync.samba.org [2]: http://www.bombich.com/rsync.html -[3]: https://github.com/sorin-ionescu/oh-my-zsh/issues +[3]: https://github.com/sorin-ionescu/prezto/issues diff --git a/modules/ruby/README.md b/modules/ruby/README.md index e7083bb4..27184f6e 100644 --- a/modules/ruby/README.md +++ b/modules/ruby/README.md @@ -63,5 +63,5 @@ Authors [2]: https://rvm.io [3]: https://github.com/sstephenson/rbenv [4]: http://gembundler.com -[5]: https://github.com/sorin-ionescu/oh-my-zsh/issues +[5]: https://github.com/sorin-ionescu/prezto/issues diff --git a/modules/screen/README.md b/modules/screen/README.md index cf9ed0ff..fee33301 100644 --- a/modules/screen/README.md +++ b/modules/screen/README.md @@ -29,5 +29,5 @@ Authors - [Sorin Ionescu](https://github.com/sorin-ionescu) [1]: http://www.gnu.org/software/screen/ -[2]: https://github.com/sorin-ionescu/oh-my-zsh/issues +[2]: https://github.com/sorin-ionescu/prezto/issues diff --git a/modules/ssh-agent/README.md b/modules/ssh-agent/README.md index 4836f613..be025a53 100644 --- a/modules/ssh-agent/README.md +++ b/modules/ssh-agent/README.md @@ -32,5 +32,5 @@ Authors - [Sorin Ionescu](https://github.com/sorin-ionescu) [1]: http://www.openbsd.org/cgi-bin/man.cgi?query=ssh-agent&sektion=1 -[2]: https://github.com/sorin-ionescu/oh-my-zsh/issues +[2]: https://github.com/sorin-ionescu/prezto/issues diff --git a/modules/syntax-highlighting/README.md b/modules/syntax-highlighting/README.md index 38dc28c8..2d779bf8 100644 --- a/modules/syntax-highlighting/README.md +++ b/modules/syntax-highlighting/README.md @@ -1,7 +1,7 @@ Syntax Highlighting =================== -Integrates [zsh-syntax-highlighting][1] into Oh My Zsh. +Integrates [zsh-syntax-highlighting][1] into Prezto. This module should be loaded *second to last*, where last is the *prompt* module, unless used in conjuncture with the *history-substring-search* module @@ -46,5 +46,5 @@ Authors [1]: https://github.com/zsh-users/zsh-syntax-highlighting [2]: https://github.com/zsh-users/zsh-syntax-highlighting/tree/master/highlighters -[3]: https://github.com/sorin-ionescu/oh-my-zsh/issues +[3]: https://github.com/sorin-ionescu/prezto/issues diff --git a/modules/syntax-highlighting/init.zsh b/modules/syntax-highlighting/init.zsh index d57920cc..cb4fdfc8 100644 --- a/modules/syntax-highlighting/init.zsh +++ b/modules/syntax-highlighting/init.zsh @@ -1,5 +1,5 @@ # -# Integrates zsh-syntax-highlighting into Oh My Zsh. +# Integrates zsh-syntax-highlighting into Prezto. # # Authors: # Sorin Ionescu diff --git a/modules/terminal/README.md b/modules/terminal/README.md index 136b82fa..edcb0145 100644 --- a/modules/terminal/README.md +++ b/modules/terminal/README.md @@ -21,5 +21,5 @@ Authors - [James Cox](https://github.com/imajes) - [Sorin Ionescu](https://github.com/sorin-ionescu) -[1]: https://github.com/sorin-ionescu/oh-my-zsh/issues +[1]: https://github.com/sorin-ionescu/prezto/issues diff --git a/modules/tmux/README.md b/modules/tmux/README.md index cfc3be41..432c2f0e 100644 --- a/modules/tmux/README.md +++ b/modules/tmux/README.md @@ -52,5 +52,5 @@ Authors [2]: http://git.io/jkPqHg [3]: ChrisJohnsen/tmux-MacOSX-pasteboard [4]: mxcl/homebrew -[5]: https://github.com/sorin-ionescu/oh-my-zsh/issues +[5]: https://github.com/sorin-ionescu/prezto/issues diff --git a/modules/trap/README.md b/modules/trap/README.md index 97763c00..ae0ea951 100644 --- a/modules/trap/README.md +++ b/modules/trap/README.md @@ -17,5 +17,5 @@ Authors - [Sorin Ionescu](https://github.com/sorin-ionescu) -[1]: https://github.com/sorin-ionescu/oh-my-zsh/issues +[1]: https://github.com/sorin-ionescu/prezto/issues diff --git a/modules/utility/README.md b/modules/utility/README.md index 82525ec1..b44d2436 100644 --- a/modules/utility/README.md +++ b/modules/utility/README.md @@ -149,5 +149,5 @@ Authors - [Suraj N. Kurapati](https://github.com/sunaku) - [Sorin Ionescu](https://github.com/sorin-ionescu) -[1]: https://github.com/sorin-ionescu/oh-my-zsh/issues +[1]: https://github.com/sorin-ionescu/prezto/issues diff --git a/modules/wakeonlan/README.md b/modules/wakeonlan/README.md index 66cbe852..54fc683c 100644 --- a/modules/wakeonlan/README.md +++ b/modules/wakeonlan/README.md @@ -33,5 +33,5 @@ Authors [1]: http://gsd.di.uminho.pt/jpo/software/wakeonlan/ [2]: http://man.cx/wakeonlan -[3]: https://github.com/sorin-ionescu/oh-my-zsh/issues +[3]: https://github.com/sorin-ionescu/prezto/issues diff --git a/modules/yum/README.md b/modules/yum/README.md index 23ce93ef..9743c872 100644 --- a/modules/yum/README.md +++ b/modules/yum/README.md @@ -25,5 +25,5 @@ Authors - [Sorin Ionescu](https://github.com/sorin-ionescu) [1]: http://yum.baseurl.org -[2]: https://github.com/sorin-ionescu/oh-my-zsh/issues +[2]: https://github.com/sorin-ionescu/prezto/issues diff --git a/modules/z/README.md b/modules/z/README.md index 8559005f..7e8564e5 100644 --- a/modules/z/README.md +++ b/modules/z/README.md @@ -19,5 +19,5 @@ Authors [1]: https://github.com/rupa/z [2]: https://github.com/joelthelion/autojump -[3]: https://github.com/sorin-ionescu/oh-my-zsh/issues +[3]: https://github.com/sorin-ionescu/prezto/issues diff --git a/runcoms/README.md b/runcoms/README.md index 2f26fc9d..9b27ca79 100644 --- a/runcoms/README.md +++ b/runcoms/README.md @@ -45,7 +45,7 @@ zprofile and zlogin are not meant to be used concurrently but can be done so. This file is sourced by interactive shells. It should define aliases, functions, shell options, and key bindings. -This is the main Oh My Zsh configuration file. +This is the main Prezto configuration file. ### zlogin @@ -71,5 +71,5 @@ Authors [1]: http://www.kornshell.com [2]: http://en.wikipedia.org/wiki/Fortune_(Unix) [3]: http://www.manpagez.com/man/1/msgs -[4]: https://github.com/sorin-ionescu/oh-my-zsh/issues +[4]: https://github.com/sorin-ionescu/prezto/issues diff --git a/runcoms/zshenv b/runcoms/zshenv index 827be56e..95549cff 100644 --- a/runcoms/zshenv +++ b/runcoms/zshenv @@ -5,8 +5,8 @@ # Sorin Ionescu # -# Set the path to Oh My Zsh. -export OMZ="$HOME/.oh-my-zsh" +# Set the path to Prezto. +export OMZ="$HOME/.prezto" # # Paths diff --git a/runcoms/zshrc b/runcoms/zshrc index 641d0275..de32ae13 100644 --- a/runcoms/zshrc +++ b/runcoms/zshrc @@ -1,5 +1,5 @@ # -# Sets Oh My Zsh options. +# Sets Prezto options. # # Authors: # Sorin Ionescu @@ -26,7 +26,7 @@ zstyle ':omz:module:terminal' auto-title 'yes' # Set the Zsh functions to load (man zshcontrib). # zstyle ':omz:load' zfunction 'zargs' 'zmv' -# Set the Oh My Zsh modules to load (browse modules). +# Set the Prezto modules to load (browse modules). # The order matters. zstyle ':omz:load' omodule \ 'environment' \ @@ -44,7 +44,7 @@ zstyle ':omz:load' omodule \ # Auto set to 'off' on dumb terminals. zstyle ':omz:module:prompt' theme 'sorin' -# This will make you shout: OH MY ZSHELL! +# This will make you shout: PREZTO! source "$OMZ/init.zsh" # Customize to your needs...