Обновление ohmyzsh
This commit is contained in:
5
zsh/custom/plugins/yandex-cloud/yandex-cloud.plugin.zsh
Normal file
5
zsh/custom/plugins/yandex-cloud/yandex-cloud.plugin.zsh
Normal file
@@ -0,0 +1,5 @@
|
||||
# The next line updates PATH for Yandex Cloud CLI.
|
||||
if [ -f '$HOME/yandex-cloud/path.bash.inc' ]; then source '$HOME/yandex-cloud/path.bash.inc'; fi
|
||||
|
||||
# The next line enables shell command completion for yc.
|
||||
if [ -f '$HOME/yandex-cloud/completion.zsh.inc' ]; then source '$HOME/yandex-cloud/completion.zsh.inc'; fi
|
||||
38
zsh/custom/themes/eof.zsh-theme
Normal file
38
zsh/custom/themes/eof.zsh-theme
Normal file
@@ -0,0 +1,38 @@
|
||||
# Depends on the git-prompt plugin
|
||||
|
||||
# Colors: black red green yellow blue magenta cyan white
|
||||
# Symbols: … ● ✔ ✖ ↓ ↑ ➜ ☀ ♻ ⚒
|
||||
|
||||
# git-prompt customization
|
||||
ZSH_THEME_GIT_PROMPT_PREFIX="%{$reset_color%}%{$fg[green]%}["
|
||||
ZSH_THEME_GIT_PROMPT_SUFFIX="%{$fg[green]%}]%{$reset_color%}"
|
||||
ZSH_THEME_GIT_PROMPT_SEPARATOR=" "
|
||||
ZSH_THEME_GIT_PROMPT_BRANCH="%{$fg_bold[green]%}"
|
||||
ZSH_THEME_GIT_PROMPT_STAGED="%{$fg[white]%}%{⚒%G%}"
|
||||
ZSH_THEME_GIT_PROMPT_CONFLICTS="%{$fg[red]%}%{✖%G%}"
|
||||
ZSH_THEME_GIT_PROMPT_CHANGED="%{$fg[yellow]%}%{☀%G%}"
|
||||
ZSH_THEME_GIT_PROMPT_BEHIND="%{$fg[white]%}%{↓%G%}"
|
||||
ZSH_THEME_GIT_PROMPT_AHEAD="%{$fg[white]%}%{↑%G%}"
|
||||
ZSH_THEME_GIT_PROMPT_UNTRACKED="%{$fg[blue]%}%{?%G%}"
|
||||
ZSH_THEME_GIT_PROMPT_CLEAN="%{$fg[green]%}%{✔%G%}"
|
||||
ZSH_THEME_GIT_PROMPT_DELETED="%{$fg[red]%}♻"
|
||||
|
||||
# Default mode (Small)
|
||||
#ZSH_THEME_EOF_NAMES="${USER%%@*}@%m"
|
||||
|
||||
case $ZSH_THEME_EOF_MODE in
|
||||
mega)
|
||||
ZSH_THEME_EOF_NAMES="%n@%M "
|
||||
;;
|
||||
big)
|
||||
ZSH_THEME_EOF_NAMES="%n@%m "
|
||||
;;
|
||||
small)
|
||||
ZSH_THEME_EOF_NAMES="${USER%%@*}@%m "
|
||||
;;
|
||||
tiny|*)
|
||||
ZSH_THEME_EOF_NAMES=""
|
||||
;;
|
||||
esac
|
||||
|
||||
PROMPT='%{$fg[green]%}[%B%{$fg[green]%}$ZSH_THEME_EOF_NAMES%b%{$fg[cyan]%}%~% %{$fg[green]%}]%(?.%{$fg[green]%}.%{$fg[red]%})%B%#%b '
|
||||
Reference in New Issue
Block a user