# Lines configured by zsh-newuser-install
HISTFILE=~/.histfile
HISTSIZE=1000
SAVEHIST=1000
bindkey '^[[H' beginning-of-line
bindkey '^[[F' end-of-line
RUST_BACKTRACE=0
#fpath=( ~/.zfunc "${fpath[@]}" )
#path+=('/home/levi/scripts')
#autoload -Uz pj
export STARSHIP_CONFIG=~/.config/starship/starship.toml
export PATH
export EDITOR=hx
export VISUAL=hx
alias zreload="source ~/.zshrc"
alias zedit="hx ~/.zshrc"
alias portnap="doas portnap"
alias pkg="doas pkg"
alias pj="pijul"
alias ls="ls --color"
alias ll="ls -al"
alias df="df -h"
alias bat="bat --theme Nord --pager most"
alias myip='curl http://ipecho.net/plain; echo'
alias cputemp="sysctl dev.cpu | grep temperature"
export MANPAGER="sh -c 'col -bx | bat -l man -p'"
# Colorize grep output (good for log files)
alias grep='grep --color=auto'
alias egrep='egrep --color=auto'
alias fgrep='fgrep --color=auto'
# confirm before overwriting something
alias cp="cp -i"
alias mv='mv -i'
alias rm='rm -i'
# ---- Doom ----
export DOOMWADDIR=~/doom/
export DOOMWADPATH=~/doom/
setopt autocd extendedglob nomatch notify
unsetopt beep
bindkey -e
# End of lines configured by zsh-newuser-install
# The following lines were added by compinstall
zstyle :compinstall filename '/home/levi/.zshrc'
autoload -Uz compinit
compinit
# End of lines added by compinstall
eval "$(starship init zsh)"