Skip to content

Commit

Permalink
Added direnv
Browse files Browse the repository at this point in the history
  • Loading branch information
fabuzaid21 committed Feb 10, 2025
1 parent 5a4f314 commit f6e5d3a
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 8 deletions.
1 change: 1 addition & 0 deletions .tool-versions
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
direnv 2.35.0
nodejs 18.16.0
python 3.12.6
poetry 1.8.3
Expand Down
14 changes: 6 additions & 8 deletions .zshrc
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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)


Expand All @@ -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"

0 comments on commit f6e5d3a

Please sign in to comment.