dotfiles/zsh/.zshrc

30 lines
468 B
Bash

export ZSH="$HOME/.oh-my-zsh"
export EDITOR=nvim
XDG_CONFIG_HOME="~/.config"
plugins=(git)
source ~/headline.zsh-theme
source $ZSH/oh-my-zsh.sh
source ~/zsh-syntax-highlighting/zsh-syntax-highlighting.zsh
# 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
# Autoexec
clear; mycfetch