이상한 동작이 있습니다. 제가 zsh용으로 선택한 Jonathan 테마에는 오른쪽에만 날짜 테마가 적용되어 있습니다. 방금 다운로드하고 debains가 제안한 rc 파일을 사용하여 설정했습니다. 여기에 주제를 다루는 내용이 있을 것 같은데, 뭔지는 모르겠습니다. zshrc
# Set path if required
#export PATH=$GOPATH/bin:/usr/local/go/bin:$PATH
# Aliases
alias ls='ls --color=auto'
alias ll='ls -lah --color=auto'
alias grep='grep --color=auto'
alias ec="$EDITOR $HOME/.zshrc" # edit .zshrc
alias sc="source $HOME/.zshrc" # reload zsh configuration
# Set up the prompt - if you load Theme with zplugin as in this example, this will be overriden by the Theme. If you comment out the Theme in zplugins, this will be loaded.
autoload -Uz promptinit
promptinit
prompt adam1 # see Zsh Prompt Theme below
# Use vi keybindings even if our EDITOR is set to vi
bindkey -e
setopt histignorealldups sharehistory
# Keep 5000 lines of history within the shell and save it to ~/.zsh_history:
HISTSIZE=5000
SAVEHIST=5000
HISTFILE=~/.zsh_history
# Use modern completion system
autoload -Uz compinit
compinit
# zplug - manage plugins
source /usr/share/zplug/init.zsh
zplug "plugins/git", from:oh-my-zsh
zplug "plugins/sudo", from:oh-my-zsh
zplug "plugins/command-not-found", from:oh-my-zsh
zplug "zsh-users/zsh-syntax-highlighting"
zplug "zsh-users/zsh-autosuggestions"
zplug "zsh-users/zsh-history-substring-search"
zplug "zsh-users/zsh-completions"
zplug "junegunn/fzf"
zplug "themes/jonathan", from:oh-my-zsh, as:theme # Theme
# ZSH_THEME=
# zplug - install/load new plugins when zsh is started or reloaded
if ! zplug check --verbose; then
printf "Install? [y/N]: "
if read -q; then
echo; zplug install
fi
fi
zplug load --verbose
어떤 제안이 있으십니까?
답변1
이 줄을 주석 처리하여 수정했습니다.
prompt adam1 # see Zsh Prompt Theme below