zshrc
This commit is contained in:
parent
70e29843db
commit
6fc921bd2b
24
zsh/.zshrc
24
zsh/.zshrc
|
@ -5,7 +5,11 @@ if [[ -r "${XDG_CACHE_HOME:-$HOME/.cache}/p10k-instant-prompt-${(%):-%n}.zsh" ]]
|
|||
source "${XDG_CACHE_HOME:-$HOME/.cache}/p10k-instant-prompt-${(%):-%n}.zsh"
|
||||
fi
|
||||
|
||||
#USE_POWERLINE="true"
|
||||
# import keys
|
||||
if [ -f ~/.keys ]; then
|
||||
. ~/.keys
|
||||
echo "keys loaded"
|
||||
fi
|
||||
|
||||
# aliases
|
||||
alias python="/Library/Frameworks/Python.framework/Versions/3.10/bin/python3"
|
||||
|
@ -40,8 +44,7 @@ export SAVEHIST=10000
|
|||
setopt INC_APPEND_HISTORY
|
||||
setopt HIST_IGNORE_DUPS
|
||||
bindkey '^R' history-incremental-search-backward
|
||||
# setopt share_history
|
||||
|
||||
setopt share_history
|
||||
|
||||
# auto complete
|
||||
autoload -Uz compinit
|
||||
|
@ -58,5 +61,18 @@ source ~/powerlevel10k/powerlevel10k.zsh-theme
|
|||
# auto cd
|
||||
setopt auto_cd
|
||||
|
||||
nitch
|
||||
# pyenv stuff
|
||||
export PYENV_ROOT="$HOME/.pyenv"
|
||||
export PATH="$PYENV_ROOT/bin:$PATH"
|
||||
export PYENV_VIRTUALENV_DISABLE_PROMPT=1
|
||||
export PYTHONPATH="."
|
||||
|
||||
eval "$(pyenv init --path)"
|
||||
eval "$(pyenv init -)"
|
||||
# eval "$(pyenv virtualenv-init -)"
|
||||
|
||||
|
||||
source ~/powerlevel10k/powerlevel10k.zsh-theme
|
||||
|
||||
# To customize prompt, run `p10k configure` or edit ~/.p10k.zsh.
|
||||
[[ ! -f ~/.p10k.zsh ]] || source ~/.p10k.zsh
|
||||
|
|
Loading…
Reference in New Issue