1
0
Fork 0
mirror of https://github.com/ohmyzsh/ohmyzsh.git synced 2024-11-25 23:30:08 +00:00

Merge pull request #1256 from seegno/master

Added sf Symfony2 binary alias
This commit is contained in:
Robby Russell 2012-12-02 12:43:59 -08:00
commit e89f950985
2 changed files with 4 additions and 2 deletions

View file

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

View file

@ -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_PREFIX="λ %{$fg[blue]%}git %{$fg[red]%}"
ZSH_THEME_GIT_PROMPT_SUFFIX="%{$fg[yellow]%} → %{$reset_color%}" ZSH_THEME_GIT_PROMPT_SUFFIX="%{$fg[yellow]%} → %{$reset_color%}"