Permalink
Browse files

Converted linked git projects into proper submodules. Fixing RPROMPT.

  • Loading branch information...
1 parent 37c18b2 commit 0d48ac1f168c4464c96e6047a1db0c488145f806 @jacobstr committed Feb 26, 2013
Showing with 9 additions and 8 deletions.
  1. +3 −0 .gitmodules
  2. +1 −1 vim/vim.symlink
  3. +1 −1 z
  4. +1 −4 zsh/prompt.zsh
  5. +3 −2 zsh/zshrc.symlink
View
@@ -4,3 +4,6 @@
[submodule "zsh/zaw"]
path = zsh/zaw
url = git://github.com/zsh-users/zaw.git
+[submodule "z"]
+ path = z
+ url = git@github.com:rupa/z.git
2 z
Submodule z updated 1 files
+5 −0 z.sh
View
@@ -73,11 +73,8 @@ directory_name(){
}
export PROMPT=$'\n$(rb_prompt) in $(directory_name) $(git_dirty)$(need_push)\n'
-set_prompt () {
- export RPROMPT="%{$fg_bold[cyan]%}$(todo)%{$reset_color%}"
-}
+export RPROMPT='%{$fg_bold[cyan]%}$(todo)%{$reset_color%}'
precmd() {
title "zsh" "%m" "%55<...<%~"
- set_prompt
}
View
@@ -23,9 +23,10 @@ fi
# initialize autocomplete here, otherwise functions won't be loaded
# autoload -U compinit
# compinit
+#
+# Test RPROMPT
+RPROMPT="%{$fg_bold[cyan]%}hi%{$reset_color%}"
-# load every completion after autocomplete loads
-for config_file ($DOTFILES/**/completion.zsh) source $config_file
# Path to your oh-my-zsh configuration.
ZSH=$HOME/.oh-my-zsh

0 comments on commit 0d48ac1

Please sign in to comment.