🔧 chore(config/zsh, config/paru): manage paths with XDG standards and update shell configs

This commit is contained in:
sankalp committed 2025-06-07 14:56:04 +05:45
1 parent c3f7d2562b
commit b13825f687
5 files changed
+70 -5655

No files matched your search

+40
View File
@@ -0,0 +1,40 @@
#
# $PARU_CONF
# /etc/paru.conf
# ~/.config/paru/paru.conf
#
# See the paru.conf(5) manpage for options
#
# GENERAL OPTIONS
#
[options]
PgpFetch
Devel
Provides
DevelSuffixes = -git -cvs -svn -bzr -darcs -always -hg -fossil
#AurOnly
#BottomUp
RemoveMake
SudoLoop
#UseAsk
#SaveChanges
#CombinedUpgrade
CleanAfter
#UpgradeMenu
#NewsOnUpgrade
SkipReview
#LocalRepo
#Chroot
#Sign
#SignDb
#KeepRepoCache
#
# Binary OPTIONS
#
#[bin]
#FileManager = geany
#MFlags = --skippgpcheck
#Sudo = doas
File diff suppressed because it is too large. Load diff
File diff suppressed because it is too large. Load diff
File diff suppressed because it is too large. Load diff
+30 -5
View File
@@ -1,18 +1,43 @@
##
## PATH & ENV Var
##
export PNPM_HOME="$HOME/.local/share/pnpm"
export PATH="$PNPM_HOME:$PATH"
export PATH="$HOME/.scripts:$PATH"
export PATH="$HOME/.local/bin:$PATH"
export PATH="$HOME/.cargo/bin:$PATH"
export GPG_TTY="${TTY:-$(tty)}"
export GOROOT="$HOME/.config/go"
# Cargo
export CARGO_HOME="$HOME/.local/state/cargo"
export RUSTUP_HOME="$HOME/.local/state/rustup"
# node (npm & yarn)
export NPM_CONFIG_CACHE="$HOME/.local/state/npm/cache"
npm config set prefix "$XDG_STATE_HOME/npm/prefix"
export PATH="$HOME/.local/state/npm/prefix/bin:$PATH"
export YARN_CACHE_FOLDER="$XDG_STATE_HOME/yarn"
#pnpm
export PNPM_HOME="$XDG_STATE_HOME/pnpm"
export PNPM_STORE_PATH="$XDG_STATE_HOME/pnpm/store"
#python
export XDG_CACHE_HOME="$HOME/.cache" # pip respects this for cache
#docker
export DOCKER_CONFIG="$XDG_STATE_HOME/docker"
#Go
export GOPATH="$XDG_STATE_HOME/go"
export PATH="$GOPATH/bin:$PATH"
export SUDO_PROMPT="passwd: "
export TERMINAL="kitty"
export BROWSER="firefox"
export BROWSER="zen-browser"
export VISUAL="nvim"
export EDITOR="nvim"