diff options
Diffstat (limited to 'dot_zprofile.tmpl')
| -rw-r--r-- | dot_zprofile.tmpl | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/dot_zprofile.tmpl b/dot_zprofile.tmpl new file mode 100644 index 0000000..a51255b --- /dev/null +++ b/dot_zprofile.tmpl @@ -0,0 +1,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 }} |
