dotconfig/executable_dot_zshrc
2022-06-24 13:34:06 +01:00

29 lines
1.1 KiB
Text

# Enable Powerlevel10k instant prompt. Should stay close to the top of ~/.zshrc.
# Initialization code that may require console input (password prompts, [y/n]
# confirmations, etc.) must go above this block; everything else may go below.
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
# Created by newuser for 5.8
source /usr/share/zsh/plugins/zsh-syntax-highlighting/zsh-syntax-highlighting.zsh
source /usr/share/zsh/plugins/zsh-autosuggestions/zsh-autosuggestions.zsh
source /usr/share/zsh-theme-powerlevel10k/powerlevel10k.zsh-theme
# To customize prompt, run `p10k configure` or edit ~/.p10k.zsh.
[[ ! -f ~/.p10k.zsh ]] || source ~/.p10k.zsh
ZSH_THEME="powerlevel10k/powerlevel10k"
# alias
alias plz="sudo"
alias upd="sudo pacman -Syu"
alias cln="paccache -rk0"
alias htop="htop -C"
alias ncdu="ncdu --color off"
alias malag="ssh guoyi@malacology.net"
alias malar="ssh root@malacology.net"
alias biob="ssh bio@bioarchlinux.org"
alias bior="ssh root@bioarchlinux.org"