refactor: moved env to .zshenv

This commit is contained in:
oxypomme
2026-02-13 08:32:34 +01:00
parent 3bd4550470
commit 5ca58a8cfd
2 changed files with 6 additions and 12 deletions

5
.zshenv Normal file
View File

@@ -0,0 +1,5 @@
# Cargo / Rust
. "$HOME/.cargo/env"
# VSCode
[[ "$TERM_PROGRAM" == "vscode" ]] && . "$(code --locate-shell-integration-path zsh)"

13
.zshrc
View File

@@ -1,13 +1,6 @@
# # If you come from bash you might have to change your $PATH.
# export PATH=$HOME/.local/bin:/usr/local/bin:$PATH
# # pnpm
# export PNPM_HOME="/home/sublet/.local/share/pnpm"
# case ":$PATH:" in
# *":$PNPM_HOME:"*) ;;
# *) export PATH="$PNPM_HOME:$PATH" ;;
# esac
# Path to your Oh My Zsh installation.
export ZSH="$HOME/.oh-my-zsh"
@@ -123,7 +116,7 @@ eval "$(oh-my-posh init zsh --config ~/.p10k.omp.json)"
# export MANPATH="/usr/local/man:$MANPATH"
# VSCode shell integration
[[ "$TERM_PROGRAM" == "vscode" ]] && . "$(code --locate-shell-integration-path zsh)"
# [[ "$TERM_PROGRAM" == "vscode" ]] && . "$(code --locate-shell-integration-path zsh)"
# You may need to manually set your language environment
# export LANG=en_US.UTF-8
@@ -163,7 +156,3 @@ alias docker-compose="PODMAN_COMPOSE_PROVIDER=/usr/libexec/docker/cli-plugins/do
alias rip-yannick="gh pr create -w"
alias rip-leo="rip-yannick"
# Generated for envman. Do not edit.
[ -s "$HOME/.config/envman/load.sh" ] && source "$HOME/.config/envman/load.sh"
. "$HOME/.cargo/env"