代码拉取完成,页面将自动刷新
() {
emulate -L zsh
source /usr/share/zsh-theme-powerlevel10k/powerlevel10k.zsh-theme
source /usr/share/zsh/plugins/zsh-autosuggestions/zsh-autosuggestions.zsh
# Determine terminal capabilities.
{
if ! zmodload zsh/langinfo zsh/terminfo ||
[[ $langinfo[CODESET] != (utf|UTF)(-|)8 || $TERM == (dumb|linux) ]] ||
(( terminfo[colors] < 256 )); then
# Don't use the powerline config. It won't work on this terminal.
local USE_POWERLINE=false
# Define alias `x` if our parent process is `login`.
local parent
if { parent=$(</proc/$PPID/comm) } && [[ ${parent:t} == login ]]; then
alias x='startx ~/.xinitrc'
fi
fi
} 2>/dev/null
if [[ $USE_POWERLINE == false ]]; then
# Use 8 colors and ASCII.
source /usr/share/zsh/p10k-portable.zsh
ZSH_AUTOSUGGEST_HIGHLIGHT_STYLE='fg=black,bold'
else
# Use 256 colors and UNICODE.
source /usr/share/zsh/p10k.zsh
ZSH_AUTOSUGGEST_HIGHLIGHT_STYLE='fg=244'
fi
}
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。