fix: zed settings
This commit is contained in:
11
.zshrc
11
.zshrc
@@ -31,6 +31,13 @@ if [ -d "$HOME/node_modules/.bin" ]; then
|
||||
export PATH="$PATH:$HOME/node_modules/.bin"
|
||||
fi
|
||||
|
||||
# Source .env file early to export environment variables
|
||||
if [ -f "$HOME/.env" ] ; then
|
||||
set -a
|
||||
source "$HOME/.env"
|
||||
set +a
|
||||
fi
|
||||
|
||||
if [ -n "$BASH_VERSION" ]; then
|
||||
# include .bashrc if it exists
|
||||
if [ -f "$HOME/.bashrc" ]; then
|
||||
@@ -54,10 +61,6 @@ if [ -s "$HOME/.cargo/env" ] ; then
|
||||
. "$HOME/.cargo/env"
|
||||
fi
|
||||
|
||||
if [ -s "$HOME/.env" ] ; then
|
||||
export $(cat "$HOME/.env" | xargs)
|
||||
fi
|
||||
|
||||
if command -v oh-my-posh 2>&1 >/dev/null; then
|
||||
eval "$(! oh-my-posh init zsh --config=~/worker.omp.json)"
|
||||
fi
|
||||
|
||||
Reference in New Issue
Block a user