2023-10-27 16:02:26 +03:00
|
|
|
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)
|
2023-10-27 16:02:26 +03:00
|
|
|
source $ZSH/oh-my-zsh.sh
|
2023-10-27 17:04:45 +03:00
|
|
|
|
2023-10-27 16:02:26 +03:00
|
|
|
# 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"
|
2024-03-25 21:50:12 +03:00
|
|
|
alias dv=doas vi
|