44 lines
1 KiB
Text
44 lines
1 KiB
Text
# yash config
|
|
set --brace-expand
|
|
set --extended-glob
|
|
set --no-clobber
|
|
set --unset
|
|
set --hist-space
|
|
set --notify-le
|
|
set --le-no-conv-meta
|
|
set --le-predict
|
|
! [ -d ~/.cache/yash ] && mkdir -p ~/.cache/yash
|
|
HISTRMDUP=50
|
|
HISTFILE=~/.cache/yash/history
|
|
HISTSIZE=50000
|
|
PS1P="\fi"
|
|
FCEDIT=hx
|
|
|
|
# yash extension scripts
|
|
. ~/skynet/yash/polyglot.sh
|
|
. ~/skynet/yash/z.sh
|
|
|
|
# environment setup
|
|
export PURE_GIT_PULL=0
|
|
GPG_TTY=$(tty); export GPG_TTY
|
|
export XDG_CURRENT_DESKTOP=sway
|
|
export MOZ_ENABLE_WAYLAND=1
|
|
export ELECTRON_OZONE_PLATFORM_HINT=wayland
|
|
export QT_QPA_PLATFORMTHEME=qt6ct
|
|
export DOTNET_ROOT=$HOME/dotnet
|
|
export LD_LIBRARY_PATH=$HOME/.local/lib:${LD_LIBRARY_PATH-}
|
|
export PATH=$HOME/.local/bin:$HOME/dotnet:$HOME/.dotnet/tools:$HOME/go/bin:$HOME/.cargo/bin:$HOME/node/node_modules/.bin:$PATH
|
|
export MANPATH=$HOME/.local/share/man:${MANPATH-}
|
|
|
|
# command replacements
|
|
if type lsd >/dev/null 2>/dev/null; then
|
|
ls() { command lsd "$@"; }
|
|
fi
|
|
if type bat >/dev/null 2>/dev/null; then
|
|
cat() { command bat "$@"; }
|
|
fi
|
|
|
|
# aliases
|
|
if [ -f ~/.yash_alias ]; then
|
|
. ~/.yash_alias
|
|
fi
|