1
0
Fork 0
ryzowanie/config/zsh/.zshenv

122 lines
2.2 KiB
Text
Raw Permalink Normal View History

2024-06-09 15:56:11 +02:00
#!/bin/zsh
#
# .zshenv - Zsh environment file, loaded always.
#
2024-06-10 23:06:02 +02:00
# NOTE: .zshenv needs to live at ~/.zshenv, not in $ZDOTDIR,
# unless /etz/zsh/zshenv is not updated.
2024-06-09 15:56:11 +02:00
export XDG_STATE_HOME="$HOME/.local/state"
export XDG_CONFIG_HOME="$HOME/.config"
export XDG_DATA_HOME="$HOME/.local/share"
2024-06-10 23:06:02 +02:00
export XDG_BIN_HOME="$HOME/.local/bin"
2024-06-09 15:56:11 +02:00
export XDG_CACHE_HOME="$HOME/.cache"
2024-06-10 23:06:02 +02:00
export PATH="${XDG_BIN_HOME}:$PATH"
export PATH="${XDG_DATA_HOME}/cargo/bin:$PATH"
export PATH="${XDG_DATA_HOME}/juliaup/bin:$PATH"
export EDITOR="nvim"
2024-08-18 12:47:32 +02:00
export TERMINAL="wezterm"
2024-06-10 23:06:02 +02:00
export BROWSER="librewolf"
2024-06-09 15:56:11 +02:00
export ZDOTDIR="${XDG_CONFIG_HOME}/zsh"
2024-06-16 13:07:20 +02:00
export HISTFILE="${XDG_DATA_HOME}/zsh/.zsh_history"
2024-06-10 23:06:02 +02:00
export HISTSIZE=50000
export SAVEHIST=$HISTSIZE
2024-06-09 15:56:11 +02:00
export MANPAGER="nvim +Man! -"
export LESSHISTFILE="/dev/null"
export GNUPGHOME="${XDG_DATA_HOME}/gnupg"
export JULIAUP_DEPOT_PATH="${XDG_DATA_HOME}/juliaup"
export JULIA_DEPOT_PATH="${XDG_DATA_HOME}/julia"
export CARGO_HOME="${XDG_DATA_HOME}/cargo"
export RUSTUP_HOME="${XDG_DATA_HOME}"/rustup
export MAMBA_ROOT_PREFIX="${XDG_DATA_HOME}/micromamba"
export XINITRC="${XDG_CONFIG_HOME}/x11/xinitrc"
# export XAUTHORITY="$XDG_RUNTIME_DIR/Xauthority" # it might break some dm
2024-08-05 18:22:47 +02:00
2024-06-09 15:56:11 +02:00
# This is the list for lf icons:
export LF_ICONS="di=📁:\
fi=📃:\
tw=🤝:\
ow=📂:\
ln=⛓:\
or=❌:\
ex=🎯:\
*.txt=✍:\
*.mom=✍:\
*.me=✍:\
*.ms=✍:\
*.png=🖼 :\
*.webp=🖼 :\
*.ico=🖼 :\
*.jpg=📸:\
*.jpe=📸:\
*.jpeg=📸:\
*.gif=🖼:\
*.svg=🗺:\
*.tif=🖼:\
*.tiff=🖼:\
*.xcf=🖌:\
*.html=🌎:\
*.xml=📰:\
*.gpg=🔒:\
*.css=🎨:\
*.pdf=📚:\
*.djvu=📚:\
*.epub=📚:\
*.csv=📓:\
*.xlsx=📓:\
*.tex=📜:\
*.md=📘:\
*.r=📊:\
*.R=📊:\
*.rmd=📊:\
*.Rmd=📊:\
*.m=📊:\
*.mp3=🎵:\
*.opus=🎵:\
*.ogg=🎵:\
*.m4a=🎵:\
*.flac=🎼:\
*.wav=🎼:\
*.mkv=🎥:\
*.mp4=🎥:\
*.webm=🎥:\
*.mpeg=🎥:\
*.avi=🎥:\
*.mov=🎥:\
*.mpg=🎥:\
*.wmv=🎥:\
*.m4b=🎥:\
*.flv=🎥:\
*.zip=📦:\
*.rar=📦:\
*.7z=📦:\
*.tar.gz=📦:\
*.z64=🎮:\
*.v64=🎮:\
*.n64=🎮:\
*.gba=🎮:\
*.nes=🎮:\
*.gdi=🎮:\
*.1=:\
*.nfo=:\
*.info=:\
*.log=📙:\
*.iso=📀:\
*.img=📀:\
*.bib=🎓:\
*.ged=👪:\
*.part=💔:\
*.torrent=🔽:\
*.jar=♨:\
*.java=♨:\
"