Browse Source

Merge pull request #1256 from seegno/master

Added sf Symfony2 binary alias
Robby Russell 12 years ago
parent
commit
e89f950985
2 changed files with 4 additions and 2 deletions
  1. 3 1
      plugins/symfony2/symfony2.plugin.zsh
  2. 1 1
      themes/norm.zsh-theme

+ 3 - 1
plugins/symfony2/symfony2.plugin.zsh

@@ -11,7 +11,9 @@ _symfony2 () {
 }
 
 compdef _symfony2 app/console
+compdef _symfony2 sf
 
 #Alias
 alias sf2='php app/console'
-alias sf2clear='php app/console cache:clear'
+alias sf2clear='php app/console cache:clear'
+

+ 1 - 1
themes/norm.zsh-theme

@@ -1,4 +1,4 @@
-PROMPT='%{$fg[yellow]%}λ %{$fg[green]%}%c %{$fg[yellow]%}→ $(git_prompt_info)%{$reset_color%}'
+PROMPT='%{$fg[yellow]%}λ %m %{$fg[green]%}%c %{$fg[yellow]%}→ $(git_prompt_info)%{$reset_color%}'
 
 ZSH_THEME_GIT_PROMPT_PREFIX="λ %{$fg[blue]%}git %{$fg[red]%}"
 ZSH_THEME_GIT_PROMPT_SUFFIX="%{$fg[yellow]%} → %{$reset_color%}"