summaryrefslogtreecommitdiff
path: root/dot_zprofile.tmpl
blob: a51255bc2db6f3ecbb976b42081dfca5c6ab4833 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
# vim:ft=zsh

# Neovim as editor
export EDITOR="nvim ."

# "bat" as manpager
export MANPAGER="sh -c 'col -bx | bat -l man -p'"

# Setting bat theme
export BAT_THEME="gruvbox-dark"

{{ if eq .chezmoi.os "linux" }}
# Execute sway window manager on login
if [ -z "$WAYLAND_DISPLAY" ] && [ -n "$XDG_VTNR" ] && [ "$XDG_VTNR" -eq 1 ] ; then
    exec sway
fi
{{ end }}