mirror of
https://github.com/shokinn/.files.git
synced 2025-06-28 15:50:41 +00:00
remove fig; fix pyenv initialization
This commit is contained in:
parent
66cab63945
commit
cd10055f53
2 changed files with 6 additions and 21 deletions
|
@ -1,8 +1,3 @@
|
|||
{%@@ if profile == 'WVDEWOBMC001307' @@%}
|
||||
# Fig pre block. Keep at the top of this file.
|
||||
[[ -f "$HOME/.fig/shell/zshrc.pre.zsh" ]] && . "$HOME/.fig/shell/zshrc.pre.zsh"
|
||||
{%@@ endif @@%}
|
||||
|
||||
#
|
||||
# {{@@ header() @@}}
|
||||
#
|
||||
|
@ -163,6 +158,9 @@ source ${ZSH}/oh-my-zsh.sh
|
|||
alias ssh-no-check="ssh -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null"
|
||||
|
||||
# Initialize pyenv
|
||||
[[ $(command -v pyenv) ]] && export PYENV_ROOT="$HOME/.pyenv"
|
||||
[[ $(command -v pyenv) ]] && command -v pyenv >/dev/null || export PATH="$PYENV_ROOT/bin:$PATH"
|
||||
[[ $(command -v pyenv) ]] && eval "$(pyenv init -)"
|
||||
|
||||
# Enable pipx completions
|
||||
if [ -f "{{@@ env['HOME'] @@}}/.local/bin/pipx" ]; then
|
||||
|
@ -254,10 +252,6 @@ function setVpnGitRemote(){
|
|||
|
||||
echo -e "🔗 git remote (${HIGHLIGHT}${ORIGIN}${RESET}): ${HIGHLIGHT}${repo}${RESET}\n"
|
||||
}
|
||||
|
||||
|
||||
# Fig post block. Keep at the bottom of this file.
|
||||
[[ -f "$HOME/.fig/shell/zshrc.post.zsh" ]] && . "$HOME/.fig/shell/zshrc.post.zsh"
|
||||
{%@@ endif @@%}
|
||||
|
||||
{%@@ if profile == 'ymir' @@%}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue