refactor: moved env to .zshenv
This commit is contained in:
5
.zshenv
Normal file
5
.zshenv
Normal file
@@ -0,0 +1,5 @@
|
||||
# Cargo / Rust
|
||||
. "$HOME/.cargo/env"
|
||||
|
||||
# VSCode
|
||||
[[ "$TERM_PROGRAM" == "vscode" ]] && . "$(code --locate-shell-integration-path zsh)"
|
||||
13
.zshrc
13
.zshrc
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user