add WSL specific settings block to commonrc, add BROWSER url opening fix

This commit is contained in:
2025-06-24 19:20:22 -05:00
parent 227ba01201
commit 660940c643

View File

@@ -105,6 +105,14 @@ fi
# load aliases (note: omz aliases are supposed to be placed in ZSH_CUSTOM?)
. $HOME/.bash_aliases
{{- /* WSL-specific settings */ -}}
{{- if .data.wsl }}
## Ensures CLI apps open URLs in the default Windows browser (Chrome/Firefox/etc) instead of a CLI browser
export BROWSER='powershell.exe /c start'
{{- end }}
# disable screen blanking
# source $(brew --prefix)/share/zsh/site-functions/_todoist_peco
# xset s off && xset -dpms