diff options
author | 2024-03-25 16:43:09 +0530 | |
---|---|---|
committer | 2024-03-25 16:43:09 +0530 | |
commit | a62114c91f2070c8c8453d117f3d81dc113e41ff (patch) | |
tree | f266e87af29a08c01f82bc32dd7d463d8ec4441a /zsh/oh-my-zsh/themes/fino.zsh-theme | |
parent | af120ab348f2e1a5a39dec035ed9dcf84189a64e (diff) | |
download | dotfiles-a62114c91f2070c8c8453d117f3d81dc113e41ff.tar.gz dotfiles-a62114c91f2070c8c8453d117f3d81dc113e41ff.tar.bz2 dotfiles-a62114c91f2070c8c8453d117f3d81dc113e41ff.zip |
dotfile update
Diffstat (limited to 'zsh/oh-my-zsh/themes/fino.zsh-theme')
-rw-r--r-- | zsh/oh-my-zsh/themes/fino.zsh-theme | 47 |
1 files changed, 0 insertions, 47 deletions
diff --git a/zsh/oh-my-zsh/themes/fino.zsh-theme b/zsh/oh-my-zsh/themes/fino.zsh-theme deleted file mode 100644 index 9365a3c..0000000 --- a/zsh/oh-my-zsh/themes/fino.zsh-theme +++ /dev/null @@ -1,47 +0,0 @@ -# fino.zsh-theme - -# Use with a dark background and 256-color terminal! -# Meant for people with rbenv and git. Tested only on OS X 10.7. - -# You can set your computer name in the ~/.box-name file if you want. - -# Borrowing shamelessly from these oh-my-zsh themes: -# bira -# robbyrussell -# -# Also borrowing from http://stevelosh.com/blog/2010/02/my-extravagant-zsh-prompt/ - -function virtualenv_prompt_info { - [[ -n ${VIRTUAL_ENV} ]] || return - echo "${ZSH_THEME_VIRTUALENV_PREFIX:=[}${VIRTUAL_ENV:t}${ZSH_THEME_VIRTUALENV_SUFFIX:=]}" -} - -function prompt_char { - command git branch &>/dev/null && echo "±" || echo '○' -} - -function box_name { - local box="${SHORT_HOST:-$HOST}" - [[ -f ~/.box-name ]] && box="$(< ~/.box-name)" - echo "${box:gs/%/%%}" -} - -local ruby_env='$(ruby_prompt_info)' -local git_info='$(git_prompt_info)' -local virtualenv_info='$(virtualenv_prompt_info)' -local prompt_char='$(prompt_char)' - -PROMPT="╭─${FG[040]}%n ${FG[239]}at ${FG[033]}$(box_name) ${FG[239]}in %B${FG[226]}%~%b${git_info}${ruby_env}${virtualenv_info} -╰─${prompt_char}%{$reset_color%} " - -ZSH_THEME_GIT_PROMPT_PREFIX=" ${FG[239]}on%{$reset_color%} ${FG[255]}" -ZSH_THEME_GIT_PROMPT_SUFFIX="%{$reset_color%}" -ZSH_THEME_GIT_PROMPT_DIRTY="${FG[202]}✘✘✘" -ZSH_THEME_GIT_PROMPT_CLEAN="${FG[040]}✔" - -ZSH_THEME_RUBY_PROMPT_PREFIX=" ${FG[239]}using${FG[243]} ‹" -ZSH_THEME_RUBY_PROMPT_SUFFIX="›%{$reset_color%}" - -export VIRTUAL_ENV_DISABLE_PROMPT=1 -ZSH_THEME_VIRTUALENV_PREFIX=" ${FG[239]}using${FG[243]} «" -ZSH_THEME_VIRTUALENV_SUFFIX="»%{$reset_color%}" |