2024-06-15 16:03:26 +00:00
|
|
|
#Export basic stuff
|
|
|
|
export TERM="xterm-256color"
|
|
|
|
export HISTORY_IGNORE="(ls|cd|pwd|exit|sudo reboot|history|cd -|cd ..)"
|
2024-03-24 17:21:30 +00:00
|
|
|
export EDITOR="nvim"
|
2024-06-15 16:03:26 +00:00
|
|
|
export VISUAL="nvim"
|
2024-03-24 17:21:30 +00:00
|
|
|
export MANPAGER='nvim +Man!'
|
|
|
|
export MANWIDTH=999
|
|
|
|
export HISTCONTROL=ignoredups:erasedups
|
2024-06-15 16:03:26 +00:00
|
|
|
export HISTSIZE=20000
|
|
|
|
|
|
|
|
#Export language variables
|
2024-03-24 17:21:30 +00:00
|
|
|
export LANG="en_US.UTF-8"
|
|
|
|
export LC_MESSAGES="en_US.UTF-8"
|
|
|
|
export LC_CTYPE="en_US.UTF-8"
|
|
|
|
export LC_ALL="en_US.UTF-8"
|
2024-06-15 16:03:26 +00:00
|
|
|
|
|
|
|
#Export General
|
|
|
|
export KUBE_EDITOR=nvim
|
2024-03-24 17:21:30 +00:00
|
|
|
export DOTNET_CLI_TELEMETRY_OPTOUT="1"
|
|
|
|
|
2024-06-15 16:03:26 +00:00
|
|
|
#Aliases
|
2024-03-24 17:21:30 +00:00
|
|
|
alias vim='nvim'
|
2024-06-15 16:03:26 +00:00
|
|
|
alias ls='eza -al --color=always --group-directories-first' # basic
|
|
|
|
alias la='eza -a --color=always --group-directories-first' # all files and dirs
|
|
|
|
alias ll='eza -l --color=always --group-directories-first' # long format
|
|
|
|
alias lt='eza -aT --color=always --group-directories-first' # tree listing
|
|
|
|
alias pacue='sudo pacman -Syyu' # Refresh pkglist & update standard pkgs
|
|
|
|
alias parue='paru -Sua --noconfirm' # update only AUR pkgs (paru)
|
|
|
|
alias orphan='sudo pacman -Rns $(pacman -Qtdq)' # remove orphaned packages
|
|
|
|
alias mirror="sudo reflector -f 30 -l 30 --number 10 --verbose --save /etc/pacman.d/mirrorlist" # get fastest mirror
|
|
|
|
alias jctl="journalctl -p 3 -xb" # get error messages from journalctl
|
2024-03-24 17:21:30 +00:00
|
|
|
|
|
|
|
#PATH
|
|
|
|
if [ -d "$HOME/bin" ] ;
|
|
|
|
then PATH="$HOME/bin:$PATH"
|
|
|
|
fi
|
|
|
|
|
|
|
|
if [ -d "$HOME/.local/bin" ] ;
|
|
|
|
then PATH="$HOME/.local/bin:$PATH"
|
|
|
|
fi
|
|
|
|
|
2024-06-15 16:03:26 +00:00
|
|
|
eval "$(starship init zsh)"
|