56 lines
1.2 KiB
Bash
56 lines
1.2 KiB
Bash
if [[ -r "${XDG_CACHE_HOME:-$HOME/.cache}/p10k-instant-prompt-${(%):-%n}.zsh" ]]; then
|
|
source "${XDG_CACHE_HOME:-$HOME/.cache}/p10k-instant-prompt-${(%):-%n}.zsh"
|
|
fi
|
|
|
|
export ZSH="$HOME/.config/zsh/.oh-my-zsh"
|
|
ZSH_THEME="powerlevel10k/powerlevel10k"
|
|
|
|
HYPHEN_INSENSITIVE="true"
|
|
|
|
setopt correct
|
|
|
|
zstyle ':omz:update' mode reminder
|
|
zstyle ':omz:update' frequency 14
|
|
|
|
plugins=(
|
|
colored-man-pages
|
|
colorize
|
|
command-not-found
|
|
cp
|
|
history
|
|
history-substring-search
|
|
rsync
|
|
safe-paste
|
|
screen
|
|
tmux
|
|
urltools
|
|
z
|
|
docker
|
|
git
|
|
npm
|
|
nvm
|
|
python
|
|
archlinux
|
|
battery
|
|
)
|
|
|
|
source $ZSH/oh-my-zsh.sh
|
|
source /usr/share/nvm/init-nvm.sh
|
|
|
|
HISTFILE=$HOME/.config/zsh/.histfile
|
|
HISTSIZE=10000
|
|
|
|
# export MANPATH="/usr/local/man:$MANPATH"
|
|
# export LANG=en_US.UTF-8
|
|
# export ARCHFLAGS="-arch x86_64"
|
|
|
|
alias la='ls -la --human-readable'
|
|
alias neo='neofetch'
|
|
alias fetch='neofetch'
|
|
alias tor='sudo /usr/bin/tor'
|
|
alias ssh='TERM=xterm-256color ssh'
|
|
alias proton-call-ge='proton-call -c /usr/share/steam/compatibilitytools.d/proton-ge-custom -r'
|
|
alias sync-timezone='timedatectl set-timezone "$(curl --fail https://ipapi.co/timezone)" && timedatectl'
|
|
|
|
[[ ! -f ~/.config/zsh/.p10k.zsh ]] || source ~/.config/zsh/.p10k.zsh
|