commit a63093ca0d7784877ced0346f99d7809bdc7419d
parent e1c35192742887bc4aa2145603845e6f5f9efffc
Author: FIGBERT <figbert@figbert.com>
Date: Sun, 17 Apr 2022 11:20:51 -0700
Different approach to fixing weechat
Diffstat:
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/dot_config/private_fish/config.fish.tmpl b/dot_config/private_fish/config.fish.tmpl
@@ -12,6 +12,9 @@ if status is-interactive
set -x EDITOR nvim
set -x XDG_CONFIG_HOME {{ .chezmoi.homeDir }}/.config
set -g fish_greeting
+ {{ if eq .chezmoi.os "darwin" -}}
+ set -x OBJC_DISABLE_INITIALIZE_FORK_SAFETY YES
+ {{ end -}}
# aliases
alias vi="nvim"
alias vim="nvim"
@@ -26,7 +29,6 @@ if status is-interactive
alias fix-damaged="xattr -cr"
alias cordless="cordless -config-dir ~/.config/cordless"
alias godot="/Applications/Godot.app/Contents/MacOS/Godot"
- alias weechat="OBJC_DISABLE_INITIALIZE_FORK_SAFETY=YES weechat"
{{ end -}}
# evals
starship init fish | source