minor error correction

This commit is contained in:
Daniel Mevec 2024-11-20 21:07:49 +01:00
parent ac51e596a0
commit 806fb0f269
2 changed files with 6 additions and 6 deletions

View file

@ -18,7 +18,7 @@ fi
if [ -f "$HOME/.cargo/env" ]; then if [ -f "$HOME/.cargo/env" ]; then
. "$HOME/.cargo/env" . "$HOME/.cargo/env"
elif [-d "$HOME/.cargo/bin" ]; then elif [ -d "$HOME/.cargo/bin" ]; then
PATH="$HOME/.cargo/bin:$PATH" PATH="$HOME/.cargo/bin:$PATH"
fi fi

View file

@ -124,9 +124,9 @@ if [ "$TERM" = "linux" ]; then
clear #for background artifacting clear #for background artifacting
fi fi
tere() { # tere() {
local result=$(command tere "$@") # local result=$(command tere "$@")
[ -n "$result" ] && cd -- "$result" # [ -n "$result" ] && cd -- "$result"
} # }
export SSH_AUTH_SOCK="$XDG_RUNTIME_DIR/ssh-agent.socket" export SSH_AUTH_SOCK="$XDG_RUNTIME_DIR/ssh-agent.socket"
eval "$(zoxide init --cmd cd zsh)" # eval "$(zoxide init --cmd cd zsh)"