Commit graph

6 commits

Author SHA1 Message Date
37f14fc23a zsh: make `~/.zshenv' as small as possible
`~/.zshenv' is executed for _every_ instance of `zsh', so we should
limit the work done there to the absolute minimum. For me, that
currently means only making sure `$ZDOTDIR' is set so that login (via
`.zprofile') and interactive (via `.zshrc') shells can be configured
appropriately.
2022-10-21 20:16:10 +02:00
39f51775fe zsh: refactor configuration with focus on interactive shells
Moved most of the work to `.zshrc' rather than `.zhenv', because most of
my configuration is only relevant to my interactive use of the shell.
2022-10-21 19:59:16 +02:00
8cb0e94698 env: fix shellcheck errors and warnings 2022-09-28 13:12:44 +02:00
210978ab8f env: only set DISPLAY on WSL if an Xserver is reachable
Neovim always uses `xclip` as the clipboard provider if DISPLAY is set.
Therefore, if we set it unconditionally, `xclip` hangs while trying to
reach the server if this hasn't been started, causing all sorts of
chaos.
2022-09-28 13:02:49 +02:00
58ef45c013 env: set $DISPLAY to use X server in WSL 2022-09-26 11:25:28 +02:00
61f0b64b84 install: make ~/.config a symlink into dotfiles 2022-02-07 19:26:29 +01:00
Renamed from zsh/.zshenv (Browse further)