2019-07-29 09:46:10 +00:00
|
|
|
local return_code='%(?..%{$fg[red]%}%? ↵%{$reset_color%})'
|
2018-11-27 09:04:41 +00:00
|
|
|
local current_dir='%{$terminfo[bold]$fg[green]%}%~%{$reset_color%}'
|
2017-02-26 10:30:36 +00:00
|
|
|
local git_branch='$(git_prompt_info)%{$reset_color%}'
|
2019-03-12 17:33:05 +00:00
|
|
|
local firebase_project=%{$fg[cyan]%}'$(node ~/.oh-my-zsh/custom/getFirebaseProject.js $(pwd))'%{$reset_color%}
|
2017-02-26 10:30:36 +00:00
|
|
|
|
2020-04-07 18:36:34 +00:00
|
|
|
PROMPT="${current_dir} ${firebase_project} ${git_branch}
|
2018-11-27 09:04:41 +00:00
|
|
|
$ "
|
2017-02-26 10:30:36 +00:00
|
|
|
RPS1="${return_code}"
|
|
|
|
|
2019-03-17 06:28:54 +00:00
|
|
|
ZSH_THEME_GIT_PROMPT_PREFIX="%{$fg[yellow]%}"
|
|
|
|
ZSH_THEME_GIT_PROMPT_SUFFIX="%{$reset_color%}"
|
2020-04-07 19:05:20 +00:00
|
|
|
|
|
|
|
alias fd="firebase deploy"
|
|
|
|
alias ya="yarn add"
|
|
|
|
alias yr="yarn remove"
|
2020-04-07 19:11:43 +00:00
|
|
|
alias yu="yarn upgrade-interactive --latest"
|
2020-05-01 11:47:55 +00:00
|
|
|
alias webstorm="open -a "WebStorm.app""
|
|
|
|
alias gst="git status -sb"
|