mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2026-05-08 04:34:00 +02:00
Merge 1f0ed96240 into 291e96dcd0
This commit is contained in:
commit
9f392934ed
3 changed files with 23 additions and 0 deletions
5
plugins/folders/_folders
Normal file
5
plugins/folders/_folders
Normal file
|
|
@ -0,0 +1,5 @@
|
||||||
|
#compdef c
|
||||||
|
_files -W ~/code -/
|
||||||
|
|
||||||
|
#compdef h
|
||||||
|
_files -W ~ -/
|
||||||
3
plugins/folders/folders.plugin.zsh
Normal file
3
plugins/folders/folders.plugin.zsh
Normal file
|
|
@ -0,0 +1,3 @@
|
||||||
|
fpath=($ZSH/plugins/folders $fpath)
|
||||||
|
autoload -U compinit
|
||||||
|
compinit -i
|
||||||
15
themes/ognevsky.zsh-theme
Normal file
15
themes/ognevsky.zsh-theme
Normal file
|
|
@ -0,0 +1,15 @@
|
||||||
|
ZSH_THEME_GIT_PROMPT_PREFIX=" %{$fg[black]%}"
|
||||||
|
ZSH_THEME_GIT_PROMPT_SUFFIX="%{$reset_color%}"
|
||||||
|
ZSH_THEME_GIT_PROMPT_DIRTY="%{$fg[red]%}*"
|
||||||
|
ZSH_THEME_GIT_PROMPT_CLEAN=""
|
||||||
|
|
||||||
|
PROMPT='%_
|
||||||
|
%{$fg_bold[black]%}%~%{$reset_color%}
|
||||||
|
%_⇥ '
|
||||||
|
|
||||||
|
RPROMPT='$(git_prompt_info) '
|
||||||
|
|
||||||
|
#RVM settings
|
||||||
|
if [[ -s ~/.rvm/scripts/rvm ]] ; then
|
||||||
|
RPROMPT="$RPROMPT %{$reset_color%}%{$fg[blue]%}\$(~/.rvm/bin/rvm-prompt i v g)%{$reset_color%}"
|
||||||
|
fi
|
||||||
Loading…
Add table
Add a link
Reference in a new issue