Files
config/.zshrc
2026-02-12 22:30:36 +00:00

20 lines
618 B
Bash
Executable File

# Add carapace autocomplete
export CARAPACE_BRIDGES='zsh,fish,bash,inshellisense' # optional
zstyle ':completion:*' format $'\e[2;37mCompleting %d\e[m'
source <(carapace _carapace)
setopt NO_CASE_GLOB
zstyle ':completion:*' matcher-list 'm:{[:lower:]}={[:upper:]}' 'r:|[._-]=* r:|=*' 'l:|=* r:|=*'
# init oh my posh with theme from stow
eval "$(oh-my-posh init zsh --config $HOME/.config/oh-my-posh/zen.toml)"
# custom aliases
alias ls="lsd -l"
alias v="nvim"
alias lg="lazygit"
alias nsh="nix-shell -p"
alias ncg="sudo nix-collect-garbage -d"
alias vinix="nvim --cmd 'cd ~/.dotfiles/.nixos'"
source ~/.zshrc-local