dotfiles/dot_zshrc.tmpl

45 lines
1.0 KiB
Cheetah
Raw Normal View History

2024-01-15 05:36:22 +01:00
eval $(keychain --eval --agents ssh {{ .sshkey }})
2023-02-14 08:59:24 +01:00
[ -f ~/.keychain/$HOSTNAME-sh ] && . ~/.keychain/$HOSTNAME-sh 2>/dev/null
2023-02-14 08:36:53 +01:00
ZSH=$HOME/.oh-my-zsh
ZSH_DISABLE_COMPFIX="true"
# CASE_SENSITIVE="true"
DISABLE_AUTO_TITLE="true"
DISABLE_UNTRACKED_FILES_DIRTY="true"
COMPLETION_WAITING_DOTS="false"
export FZF_DEFAULT_COMMAND="fd --type file --color=always"
export FZF_CTRL_T_COMMAND="$FZF_DEFAULT_COMMAND"
export FZF_DEFAULT_OPTS="--ansi"
export BAT_THEME="gruvbox-dark"
zle -N zle-line-init
zle -N zle-keymap-select
export KEYTIMEOUT=1
plugins={{ .plugins }}
2024-01-22 17:26:01 +01:00
#chezmoi aliases
alias ccd= 'chezmoi cd'
alias cdi= 'chezmoi diff'
alias cap= 'chezmoi apply'
2023-02-14 08:36:53 +01:00
source $ZSH/oh-my-zsh.sh
export PATH=/usr/local/bin:/usr/local/sbin:$PATH
export LC_ALL=en_US.UTF-8
export LANG=en_US.UTF-8
export EDITOR='nvim'
export GOPATH=$HOME/go
2024-01-12 22:51:03 +01:00
{{ if eq .chezmoi.os "darwin" }}
2023-03-07 16:01:47 +01:00
source $HOME/perl5/perlbrew/etc/bashrc
2023-04-30 09:58:35 +02:00
{{- if eq .chezmoi.arch "arm64" }}
export PATH=/opt/homebrew/bin:$PATH
2024-01-12 22:51:03 +01:00
{{ end }}
{{ end }}
2024-01-15 05:38:27 +01:00
eval "$(zoxide init zsh)"
2024-01-14 08:36:11 +01:00
eval "$(starship init zsh)"