47 lines
1.0 KiB
Plaintext
47 lines
1.0 KiB
Plaintext
if [[ -r "${XDG_CACHE_HOME:-$HOME/.cache}/p10k-instant-prompt-${(%):-%n}.zsh" ]]; then
|
|
source "${XDG_CACHE_HOME:-$HOME/.cache}/p10k-instant-prompt-${(%):-%n}.zsh"
|
|
fi
|
|
|
|
ZSH=$HOME/.oh-my-zsh
|
|
ZSH_THEME="powerlevel10k/powerlevel10k"
|
|
|
|
ZSH_DISABLE_COMPFIX="true"
|
|
# CASE_SENSITIVE="true"
|
|
DISABLE_AUTO_TITLE="true"
|
|
DISABLE_UNTRACKED_FILES_DIRTY="true"
|
|
COMPLETION_WAITING_DOTS="false"
|
|
|
|
zle -N zle-line-init
|
|
zle -N zle-keymap-select
|
|
export KEYTIMEOUT=1
|
|
|
|
plugins=(
|
|
vi-mode
|
|
golang
|
|
z
|
|
tmux
|
|
fzf-z
|
|
# fzf-tab
|
|
fd
|
|
fossil
|
|
zsh-aliases-exa
|
|
zsh-autosuggestions
|
|
zsh-syntax-highlighting
|
|
)
|
|
|
|
source $ZSH/oh-my-zsh.sh
|
|
[ -f ~/.fzf.zsh ] && source ~/.fzf.zsh
|
|
|
|
export PATH=/usr/local/bin:/usr/local/sbin:$PATH
|
|
export LC_ALL=en_US.UTF-8
|
|
export LANG=en_US.UTF-8
|
|
export EDITOR='vim'
|
|
export GOPATH=$HOME/go
|
|
export GPG_TTY=$TTY
|
|
export FZF_DEFAULT_COMMAND='fd --type file --hidden --no-ignore'
|
|
|
|
source $HOME/.zsh-local.sh
|
|
|
|
# To customize prompt, run `p10k configure` or edit ~/.p10k.zsh.
|
|
[[ ! -f ~/.p10k.zsh ]] || source ~/.p10k.zsh
|