Closed aklk1ng closed 1 year ago
When i source ~/.zshrc,i received a notice,but zimfw works fine
source ~/.zshrc
zimfw
Here is my .zimrc and .zshrc config:
.zimrc
.zshrc
zmodule environment zmodule git zmodule input zmodule termtitle zmodule utility zmodule duration-info zmodule git-info zmodule asciiship zmodule zsh-users/zsh-completions --fpath src zmodule completion zmodule zsh-users/zsh-syntax-highlighting zmodule zsh-users/zsh-history-substring-search zmodule zsh-users/zsh-autosuggestions zmodule prompt-pwd zmodule magicmace zmodule zdharma-continuum/fast-syntax-highlighting zmodule hlissner/zsh-autopair zmodule agkozak/zsh-z zmodule zimfw/utility zmodule zimfw/exa zmodule zimfw/ssh
if [ -z "${DISPLAY}" ] && [ "${XDG_VTNR}" -eq 1 ]; then exec startx fi setopt HIST_IGNORE_ALL_DUPS bindkey -e WORDCHARS=${WORDCHARS//[\/]} ZSH_AUTOSUGGEST_MANUAL_REBIND=1 ZSH_HIGHLIGHT_HIGHLIGHTERS=(main brackets) export EDITOR=/usr/bin/nvim ZIM_HOME=${ZDOTDIR:-${HOME}}/.zim # Download zimfw plugin manager if missing. if [[ ! -e ${ZIM_HOME}/zimfw.zsh ]]; then if (( ${+commands[curl]} )); then curl -fsSL --create-dirs -o ${ZIM_HOME}/zimfw.zsh \ https://github.com/zimfw/zimfw/releases/latest/download/zimfw.zsh else mkdir -p ${ZIM_HOME} && wget -nv -O ${ZIM_HOME}/zimfw.zsh \ https://github.com/zimfw/zimfw/releases/latest/download/zimfw.zsh fi fi # Install missing modules, and update ${ZIM_HOME}/init.zsh if missing or outdated. if [[ ! ${ZIM_HOME}/init.zsh -nt ${ZDOTDIR:-${HOME}}/.zimrc ]]; then source ${ZIM_HOME}/zimfw.zsh init -q fi # Initialize modules. source ${ZIM_HOME}/init.zsh source ${ZIM_HOME}/alisa.zsh source ${ZIM_HOME}/env.zsh source ${ZIM_HOME}/git.zsh source ${ZIM_HOME}/fzf.zsh source ${ZIM_HOME}/extract.zsh source ${ZIM_HOME}/work.zsh export HOMEBREW_NO_AUTO_UPDATE=1 # source ~/.zim/vi.zsh zmodload -F zsh/terminfo +p:terminfo # Bind ^[[A/^[[B manually so up/down works both before and after zle-line-init for key ('^[[A' '^P' ${terminfo[kcuu1]}) bindkey ${key} history-substring-search-up for key ('^[[B' '^N' ${terminfo[kcud1]}) bindkey ${key} history-substring-search-down for key ('k') bindkey -M vicmd ${key} history-substring-search-up for key ('j') bindkey -M vicmd ${key} history-substring-search-down unset key
Same issue.
When i
source ~/.zshrc
,i received a notice,butzimfw
works fineHere is my
.zimrc
and.zshrc
config: