guix/.zshrc

39 lines
910 B
Bash

typeset -U path cdpath fpath manpath
# Oh-My-Zsh/Prezto calls compinit during initialization,
# calling it twice causes slight start up slowdown
# as all $fpath entries will be traversed again.
# source /nix/store/8nacxwlkmmlhh9ws1jq27cksr91bnppr-zsh-autosuggestions-0.7.0/share/zsh-autosuggestions/zsh-autosuggestions.zsh
# oh-my-zsh extra settings for plugins
# oh-my-zsh configuration generated by NixOS
# plugins=(colored-man-pages lol rand-quote)
# source $ZSH/oh-my-zsh.sh
# source /nix/store/bk46a9hcbw8hi3qh5f15x41yskw3jpvv-transient.zsh
GPG_TTY="$(tty)"
export GPG_TTY
if [[ $TERM != "dumb" ]]; then
command -v starship && eval "$(starship init zsh)"
command -v direnv && eval "$(direnv hook zsh)"
fi
# Aliases
alias eza="eza --icons --git --octal-permissions"
alias gsa="git-sync-all"
alias la="eza -a"
alias ll="eza -l"
alias lla="eza -la"
alias ls="eza"
alias lt="eza --tree"