125 lines
2.3 KiB
Bash
125 lines
2.3 KiB
Bash
#!/bin/zsh
|
||
#
|
||
# .zshenv - Zsh environment file, loaded always.
|
||
#
|
||
# NOTE: .zshenv needs to live at ~/.zshenv, not in $ZDOTDIR,
|
||
# unless /etz/zsh/zshenv is not updated.
|
||
|
||
export XDG_STATE_HOME="$HOME/.local/state"
|
||
export XDG_CONFIG_HOME="$HOME/.config"
|
||
export XDG_DATA_HOME="$HOME/.local/share"
|
||
export XDG_BIN_HOME="$HOME/.local/bin"
|
||
export XDG_CACHE_HOME="$HOME/.cache"
|
||
|
||
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"
|
||
export TERMINAL="wezterm"
|
||
export BROWSER="librewolf"
|
||
|
||
export ZDOTDIR="${XDG_CONFIG_HOME}/zsh"
|
||
|
||
export HISTFILE="${XDG_DATA_HOME}/zsh/.zsh_history"
|
||
export HISTSIZE=50000
|
||
export SAVEHIST=$HISTSIZE
|
||
|
||
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
|
||
|
||
|
||
# Move it to independent GTK config
|
||
export GTK_THEME="Adwaita:dark"
|
||
# GNUCASH Finance::Quote
|
||
export ALPHAVANTAGE_API_KEY=UWSYHNQ9BNFU4ZFA
|
||
|
||
# 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=♨:\
|
||
"
|