mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2026-02-13 03:01:32 +01:00
Merge a2cc46670a into 6b3c953775
This commit is contained in:
commit
e3bb1972ef
2 changed files with 30 additions and 2 deletions
|
|
@ -14,10 +14,13 @@ _sublime_darwin_paths=(
|
|||
if [[ $('uname') == 'Linux' ]]; then
|
||||
if [ -f '/usr/bin/sublime_text' ]; then
|
||||
st_run() { nohup /usr/bin/sublime_text $@ > /dev/null & }
|
||||
else
|
||||
alias st=st_run
|
||||
elif [ -f '/usr/bin/sublime-text' ]; then
|
||||
st_run() { nohup /usr/bin/sublime-text $@ > /dev/null & }
|
||||
alias st=st_run
|
||||
else
|
||||
alias st="/usr/bin/subl3"
|
||||
fi
|
||||
alias st=st_run
|
||||
|
||||
elif [[ $('uname') == 'Darwin' ]]; then
|
||||
|
||||
|
|
|
|||
25
themes/curlybracket.zsh-theme
Normal file
25
themes/curlybracket.zsh-theme
Normal file
|
|
@ -0,0 +1,25 @@
|
|||
# ----------------------------------------------------------------------------
|
||||
# prompt variables
|
||||
# ----------------------------------------------------------------------------
|
||||
ZSH_PROMPT_BASE_COLOR="%{$FG[243]%}"
|
||||
|
||||
ZSH_THEME_GIT_PROMPT_PREFIX="%{$FG[243]%}git:("
|
||||
ZSH_THEME_GIT_PROMPT_SUFFIX=")"
|
||||
ZSH_THEME_GIT_PROMPT_DIRTY="*"
|
||||
ZSH_THEME_GIT_PROMPT_CLEAN=""
|
||||
|
||||
ZSH_THEME_HG_PROMPT_PREFIX="hg:("
|
||||
ZSH_THEME_HG_PROMPT_SUFFIX=""
|
||||
ZSH_THEME_HG_PROMPT_DIRTY="*)"
|
||||
ZSH_THEME_HG_PROMPT_CLEAN=")"
|
||||
|
||||
ZSH_THEME_SVN_PROMPT_PREFIX="svn:("
|
||||
ZSH_THEME_SVN_PROMPT_SUFFIX=""
|
||||
ZSH_THEME_SVN_PROMPT_DIRTY="*)"
|
||||
ZSH_THEME_SVN_PROMPT_CLEAN=")"
|
||||
|
||||
# ----------------------------------------------------------------------------
|
||||
# zee prompt (ha ha)
|
||||
# ----------------------------------------------------------------------------
|
||||
PROMPT='%{$fg_bold[blue]%}%n@%m %{$fg[green]%}${PWD/#$HOME/~}%b%{$reset_color%} '
|
||||
RPROMPT='$(hg_prompt_info)$(git_prompt_info)$(svn_prompt_info)%{$reset_color%}'
|
||||
Loading…
Add table
Add a link
Reference in a new issue