Files
rice-flakes/modules/core/zsh/.zshrc
T
2026-04-24 18:35:15 -05:00

31 lines
486 B
Bash

HISTFILE=~/.histfile
HISTSIZE=1000
SAVEHIST=10000
setopt autocd extendedglob nomatch notify
unsetopt beep
bindkey -v
zstyle :compinstall filename '/home/poslop/.zshrc'
autoload -Uz compinit
compinit
alias gc='git commit'
alias gp='git push'
alias gs='git status'
ga() {
if [[ -z "$1" ]]; then
git add -u
else
git add "$1"
fi
}
rerice() {
local flake_dir="/etc/rice-flakes"
host="${1:-$(hostname -s)}"
sudo nixos-rebuild switch --flake "${flake_dir}#${host}"
}