From f6e5d3a94d3abf4a547abafe048e279d64ea53e8 Mon Sep 17 00:00:00 2001 From: Firas Abuzaid Date: Sun, 9 Feb 2025 22:00:23 -0800 Subject: [PATCH] Added direnv --- .tool-versions | 1 + .zshrc | 14 ++++++-------- 2 files changed, 7 insertions(+), 8 deletions(-) diff --git a/.tool-versions b/.tool-versions index 57468d1..14b2b25 100644 --- a/.tool-versions +++ b/.tool-versions @@ -1,3 +1,4 @@ +direnv 2.35.0 nodejs 18.16.0 python 3.12.6 poetry 1.8.3 diff --git a/.zshrc b/.zshrc index 7c1fb32..dbbe22d 100644 --- a/.zshrc +++ b/.zshrc @@ -53,16 +53,19 @@ ZSH_THEME="powerlevel10k/powerlevel10k" # Would you like to use another custom folder than $ZSH/custom? # ZSH_CUSTOM=/path/to/new-custom-folder +# User configuration + +# Add binaries installed by asdf to path +export PATH="$HOME/.asdf/shims:$PATH" + # Which plugins would you like to load? (plugins can be found in ~/.oh-my-zsh/plugins/*) # Custom plugins may be added to ~/.oh-my-zsh/custom/plugins/ # Example format: plugins=(rails git textmate ruby lighthouse) # Add wisely, as too many plugins slow down shell startup. -plugins=(git) +plugins=(direnv git virtualenv) source $ZSH/oh-my-zsh.sh -# User configuration - # export MANPATH="/usr/local/man:$MANPATH" # You may need to manually set your language environment @@ -91,8 +94,6 @@ source $ZSH/oh-my-zsh.sh # alias ohmyzsh="mate ~/.oh-my-zsh" POWERLEVEL9K_DISABLE_CONFIGURATION_WIZARD=true - -plugins=(virtualenv) POWERLEVEL9K_RIGHT_PROMPT_ELEMENTS=(status virtualenv) @@ -107,6 +108,3 @@ autoload -U +X bashcompinit && bashcompinit # Q post block. Keep at the bottom of this file. [[ -f "${HOME}/Library/Application Support/amazon-q/shell/zshrc.post.zsh" ]] && builtin source "${HOME}/Library/Application Support/amazon-q/shell/zshrc.post.zsh" - -# Add binaries installed by asdf to path -export PATH="$HOME/.asdf/shims:$PATH"