[[ ! -f ~/.p10k.zsh ]] || source ~/.p10k.zsh

la_culr()
{
     eza -lha --group-directories-first --icons --color=always $@ | culr -t 80 -o roygbiv-split
}

ls_culr()
{
     eza -lh --group-directories-first --icons --color=always $@ | culr -t 80 -o roygbiv-split
}

ps_culr()
{
     ps ww$@ | culr -t 80 -o roygbiv-split
}

alias ...='cd ../..'
alias ....='cd ../../..'
alias .....='cd ../../../..'

alias fresh='clear; echo; ~/.nix/header.sh'
alias icat='kitty +kitten icat'
alias chmox='chmod +x'
alias gs='git status'
alias gcl='git clone'
alias ga='git add'
alias gcb='git checkout -b'
alias gco='git checkout'
alias gl='git pull'
alias gp='git push'
alias gd='git diff'
alias gcam='git commit -am'
alias gcm='git commit -m'
alias gr='git restore'
alias gm='git merge'
alias l='ls_culr'
alias la='la_culr'
alias p='ps_culr'
alias mnt='mount | column -t | culr -t 80 -o roygbiv-split'
alias zz='z $(xplr)'
# alias kaboom='printf "type any input if you wish to update\n\npress enter to continue\n"; read upgrade; if [ -n "$upgrade" ]; then echo upgrading..; sudo nix-channel --update; else echo no upgrade!; fi; sudo nixos-rebuild switch -j9 && rm ~/.gtkrc-2.0; home-manager switch && sudo nix-collect-garbage && nix-store --optimise'
eval "$(zoxide init zsh)"
fresh
