dotfiles/zsh/.zshrc

24 lines
367 B
Bash

export ZSH="$HOME/.oh-my-zsh"
export EDITOR=nvim
ZSH_THEME="headline"
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