mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2026-05-01 04:30:37 +02:00
chore(OH-My-zsh): install zsh
This commit is contained in:
parent
ff5629e60b
commit
03bbda87c7
2 changed files with 62 additions and 8 deletions
51
.gitignore
vendored
51
.gitignore
vendored
|
|
@ -1,8 +1,43 @@
|
||||||
# custom files
|
.DS_Store
|
||||||
custom/
|
vim/bundle/*
|
||||||
!custom/plugins/example
|
vim/sessions/*
|
||||||
!custom/example.zsh
|
vim/.netrwhist
|
||||||
|
vim/vundle_plugins/custom
|
||||||
# temp files directories
|
vim/.backup/*
|
||||||
cache/
|
vim/.tmp/*
|
||||||
log/
|
vim/.temp/*
|
||||||
|
vim/.backup/*
|
||||||
|
vim/.undo/*
|
||||||
|
bash/ssh.sh
|
||||||
|
bin/php*
|
||||||
|
config/configstore/update-notifier-nodemon.json
|
||||||
|
vim/.spell/custom.en.utf-8.add.spl
|
||||||
|
emacs/*.elc
|
||||||
|
emacs/\#*
|
||||||
|
emacs/bookmarks
|
||||||
|
emacs/backup
|
||||||
|
emacs/backup.*
|
||||||
|
emacs/org-clock-save.el
|
||||||
|
emacs/ac-comphist.dat
|
||||||
|
emacs/tramp
|
||||||
|
emacs/elpa
|
||||||
|
emacs/var
|
||||||
|
emacs/eshell
|
||||||
|
emacs/ido.last
|
||||||
|
emacs/recentf
|
||||||
|
emacs/.cask
|
||||||
|
emacs/emms
|
||||||
|
emacs/url
|
||||||
|
emacs/auto-save-list
|
||||||
|
emacs/projectile-bookmarks.eld
|
||||||
|
emacs/projectile.cache
|
||||||
|
emacs/saveplace
|
||||||
|
emacs/projectile.cache
|
||||||
|
emacs/projectile-bookmarks.eld
|
||||||
|
emacs/ac-comphist.dat
|
||||||
|
emacs/auto-save-list
|
||||||
|
emacs/games
|
||||||
|
config/configstore/snyk.json
|
||||||
|
config/git/gitk
|
||||||
|
config/vifm/vifminfo
|
||||||
|
vim/vim
|
||||||
|
|
|
||||||
19
themes/ultra.zsh-theme
Normal file
19
themes/ultra.zsh-theme
Normal file
|
|
@ -0,0 +1,19 @@
|
||||||
|
function prompt_char {
|
||||||
|
git branch >/dev/null 2>/dev/null && echo '±' && return
|
||||||
|
echo '○'
|
||||||
|
}
|
||||||
|
|
||||||
|
function virtualenv_info {
|
||||||
|
[ $VIRTUAL_ENV ] && echo '('`basename $VIRTUAL_ENV`') '
|
||||||
|
}
|
||||||
|
|
||||||
|
PROMPT='✿ [%{$fg[blue]%}%m%{$reset_color%}]-[%{$fg_bold[blue]%}${PWD/#$HOME/~} %{$reset_color%}] $(prompt_char) $(git_prompt_info) %{$reset_color%}%{$fg[green]%}➜ %{$reset_color%} '
|
||||||
|
|
||||||
|
ZSH_THEME_GIT_PROMPT_PREFIX="|%{$fg[green]%}"
|
||||||
|
|
||||||
|
ZSH_THEME_GIT_PROMPT_SUFFIX="|%{$reset_color%}"
|
||||||
|
|
||||||
|
ZSH_THEME_GIT_PROMPT_DIRTY="%{$fg[yellow]%}[✹]%{$reset_color%}"
|
||||||
|
|
||||||
|
ZSH_THEME_GIT_PROMPT_UNTRACKED="%{$fg[green]%}?"
|
||||||
|
ZSH_THEME_GIT_PROMPT_CLEAN="%{$fg[green]%}(⦿)"
|
||||||
Loading…
Add table
Add a link
Reference in a new issue