-
Notifications
You must be signed in to change notification settings - Fork 0
/
.zshrc
24 lines (18 loc) · 820 Bytes
/
.zshrc
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
# _ _ _
# / \ _ __ ___| |__ _______| |__ _ __ ___
# / _ \ | '__/ __| '_ \ |_ / __| '_ \| '__/ __|
# / ___ \| | | (__| | | | / /\__ \ | | | | | (__
# /_/ \_\_| \___|_| |_| /___|___/_| |_|_| \___|
[[ -f ~/.zsh/common.zsh ]] && source ~/.zsh/common.zsh
# Path and editor settings.
export GOPATH="$HOME/.go"
export EDITOR=vim
# Misc appearance settings.
export MOZ_ENABLE_WAYLAND=1
export QT_QPA_PLATFORMTHEME='qt6ct'
[[ -f ~/.zsh/common_post.zsh ]] && source ~/.zsh/common_post.zsh
# Disable flow control on interactive terminals.
[[ $- == *i* ]] && stty -ixon
# Start WM.
[[ -z $DISPLAY && -z $WAYLAND_DISPLAY && $XDG_VTNR -eq 1 && -z $TMUX ]] && WLR_DRM_NO_ATOMIC=1 exec sway
[[ -z $DISPLAY && -z $WAYLAND_DISPLAY && $XDG_VTNR -eq 2 && -z $TMUX ]] && exec startx i3