Compare commits
No commits in common. "2bda238f5179a7e16d7cf7b5bd116ed0b9b0e121" and "9b196e89dba862fa5b7a7f3c7d7a2eee1021e17e" have entirely different histories.
2bda238f51
...
9b196e89db
88
zshrc
88
zshrc
|
@ -41,13 +41,22 @@ source "${HOME}/.config/zsh/zgen/zgen.zsh"
|
|||
if ! zgen saved; then
|
||||
|
||||
# specify plugins here
|
||||
# zgen oh-my-zsh
|
||||
|
||||
zgen load denysdovhan/spaceship-prompt spaceship
|
||||
zgen load zdharma/fast-syntax-highlighting
|
||||
zgen load zsh-users/zsh-autosuggestions
|
||||
zgen load zsh-users/zsh-history-substring-search
|
||||
zgen load zsh-users/zsh-completions
|
||||
zgen load wbingli/zsh-wakatime
|
||||
zgen load peterhurford/up.zsh
|
||||
zgen load supercrabtree/k
|
||||
zgen load laggardkernel/git-ignore
|
||||
zgen load AlexisBRENON/oh-my-zsh-reminder # commands todo, task_done -> todone
|
||||
# zsh-fast-alias-tips
|
||||
# Before using need to run 'make build'
|
||||
# in plugin directory '~/.zgen/sei40kr/zsh-fast-alias-tips-master/'
|
||||
# zgen load sei40kr/zsh-fast-alias-tips
|
||||
|
||||
# generate the init script from plugins above
|
||||
zgen save
|
||||
|
@ -101,10 +110,85 @@ ZSH_AUTOSUGGEST_HIGHLIGHT_STYLE='fg=239'
|
|||
#zsh-autosuggestion settings
|
||||
bindkey '^f' autosuggest-accept
|
||||
|
||||
|
||||
SPACESHIP_TIME_SHOW=true
|
||||
SPACESHIP_NODE_SYMBOL=node-
|
||||
SPACESHIP_PACKAGE_PREFIX=
|
||||
SPACESHIP_PACKAGE_SYMBOL=package.json:
|
||||
SPACESHIP_DOCKER_SYMBOL=docker-
|
||||
SPACESHIP_PHP_SYMBOL=php-
|
||||
SPACESHIP_VENV_PREFIX=venv:\
|
||||
SPACESHIP_VENV_SYMBOL=venv-
|
||||
SPACESHIP_VENV_COLOR=7
|
||||
SPACESHIP_EXIT_CODE_SHOW=true
|
||||
SPACESHIP_EXIT_CODE_SYMBOL=
|
||||
SPACESHIP_EXIT_CODE_COLOR=9
|
||||
SPACESHIP_VI_MODE_SHOW=false
|
||||
SPACESHIP_VI_MODE_COLOR=2
|
||||
SPACESHIP_VI_MODE_INSERT=\>\ \>
|
||||
SPACESHIP_VI_MODE_NORMAL=\-\-\-
|
||||
SPACESHIP_TIME_COLOR=7
|
||||
SPACESHIP_EXEC_TIME_ELAPSED=1
|
||||
SPACESHIP_EXEC_TIME_COLOR=8
|
||||
SPACESHIP_DIR_TRUNC_PREFIX=.../
|
||||
SPACESHIP_DIR_TRUNC=0
|
||||
SPACESHIP_DIR_TRUNC_REPO=false
|
||||
SPACESHIP_DIR_COLOR=13
|
||||
SPACESHIP_GIT_BRANCH_COLOR=12
|
||||
SPACESHIP_GIT_BRANCH_SUFFIX=
|
||||
SPACESHIP_GIT_STATUS_PREFIX=\
|
||||
SPACESHIP_GIT_STATUS_SUFFIX=\
|
||||
SPACESHIP_GIT_STATUS_COLOR=6
|
||||
SPACESHIP_GIT_STATUS_COLOR=red
|
||||
SPACESHIP_GIT_STATUS_UNTRACKED=??
|
||||
SPACESHIP_GIT_STATUS_ADDED=A
|
||||
SPACESHIP_GIT_STATUS_MODIFIED=M
|
||||
SPACESHIP_GIT_STATUS_RENAMED=R
|
||||
SPACESHIP_GIT_STATUS_DELETED=D
|
||||
SPACESHIP_GIT_STATUS_STASHED=S
|
||||
SPACESHIP_GIT_STATUS_UNMERGED=U
|
||||
SPACESHIP_GIT_STATUS_AHEAD=++
|
||||
SPACESHIP_GIT_STATUS_BEHIND=--
|
||||
SPACESHIP_GIT_STATUS_DIVERGED=v
|
||||
SPACESHIP_PROMPT_PREFIXES_SHOW=false
|
||||
SPACESHIP_PROMPT_SUFIXES_SHOW=false
|
||||
SPACESHIP_DIR_TRUNC=0
|
||||
SPACESHIP_DIR_COLOR=7
|
||||
SPACESHIP_DIR_LOCK_COLOR=1
|
||||
SPACESHIP_CHAR_SYMBOL=\>\
|
||||
SPACESHIP_CHAR_COLOR_SUCCESS=2
|
||||
SPACESHIP_CHAR_COLOR_FAILURE=1
|
||||
SPACESHIP_JOBS_COLOR=13
|
||||
SPACESHIP_JOBS_SYMBOL=\<\<\<
|
||||
SPACESHIP_JOBS_AMOUNT_PREFIX=\
|
||||
SPACESHIP_JOBS_AMOUNT_SUFFIX=\
|
||||
SPACESHIP_JOBS_AAMOUNT_THRESHOLD=1
|
||||
|
||||
SPACESHIP_RPROMPT_ORDER=(
|
||||
time # Time stamps section
|
||||
exit_code # Exit code section
|
||||
)
|
||||
SPACESHIP_PROMPT_ORDER=(
|
||||
user # Username section
|
||||
host # Hostname section
|
||||
git # Git section (git_branch + git_status)
|
||||
docker # Docker section
|
||||
venv # virtualenv section
|
||||
pyenv # Pyenv section
|
||||
dir # Current directory section
|
||||
exec_time # Execution time
|
||||
# battery # Battery level and status
|
||||
line_sep # Line break
|
||||
jobs # Background jobs indicator
|
||||
vi_mode # Vi-mode indicator
|
||||
exit_code # Exit code section
|
||||
char # Prompt character
|
||||
)
|
||||
|
||||
spaceship_vi_mode_disable
|
||||
|
||||
alias todone='task_done'
|
||||
|
||||
# remove duplicate PATH entries
|
||||
# https://til.hashrocket.com/posts/7evpdebn7g-remove-duplicates-in-zsh-path
|
||||
typeset -aU path
|
||||
|
||||
eval "$(starship init zsh)"
|
||||
|
|
Loading…
Reference in New Issue