24 lines
375 B
Bash
24 lines
375 B
Bash
export ZSH="$HOME/.oh-my-zsh"
|
|
export EDITOR=nvim
|
|
ZSH_THEME="headline_nakidai"
|
|
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
|