dotfiles

[ACTIVE] managed with chezmoi
git clone git://git.figbert.com/dotfiles.git
Log | Files | Refs

commit 2ab2eeabbf7bee9b0a3ecf061cf256d74af685b7
parent 2b7f304844869c27888500466d92af1b73640714
Author: FIGBERT <figbert@figbert.com>
Date:   Fri, 14 May 2021 16:03:21 -0700

Update .zshrc for my Linux machines

Diffstat:
Mdot_zshrc.tmpl | 15++++++++++++++-
1 file changed, 14 insertions(+), 1 deletion(-)

diff --git a/dot_zshrc.tmpl b/dot_zshrc.tmpl @@ -2,8 +2,12 @@ export PATH="{{ if eq .chezmoi.os "darwin" }}/usr/local/opt/openssl@1.1/bin:{{ end }}${HOME}/.cargo/bin:${HOME}/go/bin:${HOME}/.local/bin:${PATH}" export BW_SESSION="{{ .zsh.bw }}" export PYENV_VIRTUALENV_DISABLE_PROMPT=1 -export EDITOR="/usr/local/bin/nvim" +export EDITOR="nvim" export ZSH_AUTOSUGGEST_HIGHLIGHT_STYLE="fg=8" +{{ if eq .chezmoi.hostname "voidbert" -}} +export XDG_RUNTIME_DIR="/run/user/figbert" +source {{ .chezmoi.homedir }}/.ssh/agent > /dev/null +{{ end -}} {{ if eq .chezmoi.os "darwin" -}} # zsh autosuggestions source /usr/local/share/zsh-autosuggestions/zsh-autosuggestions.zsh @@ -23,8 +27,17 @@ alias lv="exa -l --group-directories-first" alias fix-damaged="xattr -cr" alias cordless="cordless -config-dir ~/.config/cordless" alias godot="/Applications/Godot.app/Contents/MacOS/Godot" +{{ else if eq .chezmoi.hostname "voidbert" -}} +alias pvpn="sudo protonvpn" +alias spt="spotify-tui" {{ end -}} # evals eval "$(starship init zsh)" eval "$(pyenv init -)" #eval "$(pyenv virtualenv-init -)" +{{ if eq .chezmoi.hostname "voidbert" -}} +# sway +if [ "$(tty)" = "/dev/tty1" ]; then + exec sway +fi +{{ end -}}