Browse code

Fixed all themes so tab-completion doesn't move the cursor to a weird position

Toon Claes authored on 09/11/2009 at 21:05:00
Showing 3 changed files
... ...
@@ -1,4 +1,4 @@
1
-PROMPT='%{%{$fg[cyan]%}%c%{$fg_bold[blue]%}$(git_prompt_info)%{$fg_bold[blue]%}% %{$reset_color%}: '
1
+PROMPT='%{$fg[cyan]%}%c%{$fg_bold[blue]%}$(git_prompt_info)%{$fg_bold[blue]%}% %{$reset_color%}: '
2 2
 
3 3
 ZSH_THEME_GIT_PROMPT_PREFIX="(%{$fg[blue]%}"
4 4
 ZSH_THEME_GIT_PROMPT_SUFFIX="%{$reset_color%}"
... ...
@@ -1,6 +1,6 @@
1 1
 # Theme with full path names and hostname
2 2
 # Handy if you work on different servers all the time;
3
-PROMPT='%{$fg[cyan]%}%n%{$reset_color%}@$fg[yellow]%}%M:%{$fg[green]%}%/%{$reset_color%} $(git_prompt_info) %(!.#.$) '
3
+PROMPT='%{$fg[cyan]%}%n%{$reset_color%}@%{$fg[yellow]%}%M:%{$fg[green]%}%/%{$reset_color%} $(git_prompt_info) %(!.#.$) '
4 4
 
5 5
 ZSH_THEME_GIT_PROMPT_PREFIX=" %{$fg[cyan]%}git:("
6 6
 ZSH_THEME_GIT_PROMPT_SUFFIX=")%{$reset_color%}"
... ...
@@ -1,5 +1,5 @@
1 1
 # Inspired by many other themes
2
-PROMPT='[%*] %{$fg[cyan]%}%n%{$fg[magenta]%}➜%{$fg[green]%}%3~%{$(git_prompt_info)%}%{$reset_color%}» '
2
+PROMPT='[%*] %{$fg[cyan]%}%n%{$fg[magenta]%}➜%{$fg[green]%}%3~$(git_prompt_info)%{$reset_color%}» '
3 3
 
4 4
 # git theming
5 5
 ZSH_THEME_GIT_PROMPT_PREFIX="%{$fg_bold[blue]%}(%{$fg[red]%}"