dotfiles/zsh/.zshrc

24 lines
375 B
Bash
Raw Normal View History

export ZSH="$HOME/.oh-my-zsh"
export EDITOR=nvim
2023-10-27 21:46:56 +03:00
ZSH_THEME="headline_nakidai"
2023-10-27 16:50:35 +03:00
plugins=(git zsh-syntax-highlighting)
source $ZSH/oh-my-zsh.sh
# Functions
function reset-cursor()
{
printf "\e[3 q" > $TTY
}
function precmd()
{
reset-cursor
}
# Aliases
alias dem="doas emerge"
alias stdn="doas shutdown -ah 0"
alias rbot="doas reboot"
alias vi=nvim
alias dv=doas nvim