diff --git a/.chezmoitemplates/zshrc_linux.tmpl b/.chezmoitemplates/zshrc_linux.tmpl index b368b2b..7305e75 100644 --- a/.chezmoitemplates/zshrc_linux.tmpl +++ b/.chezmoitemplates/zshrc_linux.tmpl @@ -112,11 +112,18 @@ function preexec { } export PNPM_HOME="$HOME/.local/share/pnpm" -export PATH="$PATH:$HOME/.local/bin" +export PATH="$PATH:$HOME/bin:$HOME/.local/bin" +{{ if eq .chezmoi.hostname "brothertec" -}} source /usr/share/zsh/plugins/zsh-autosuggestions/zsh-autosuggestions.zsh source /usr/share/zsh/plugins/zsh-syntax-highlighting/zsh-syntax-highlighting.zsh source /usr/share/fzf/key-bindings.zsh +{{ else -}} +source /usr/share/zsh-autosuggestions/zsh-autosuggestions.zsh +source /usr/share/zsh-syntax-highlighting/zsh-syntax-highlighting.zsh +source /usr/share/fzf/shell/key-bindings.zsh +alias wezterm='flatpak run org.wezfurlong.wezterm' +{{ end -}} export EDITOR=vim diff --git a/dot_config/wezterm/executable_wezterm.lua.tmpl b/dot_config/wezterm/executable_wezterm.lua.tmpl index 5c77a2e..ffbb294 100644 --- a/dot_config/wezterm/executable_wezterm.lua.tmpl +++ b/dot_config/wezterm/executable_wezterm.lua.tmpl @@ -132,7 +132,11 @@ return { {{ if eq .chezmoi.os "darwin" -}} window_decorations = "TITLE | RESIZE", {{ else if eq .chezmoi.os "linux" -}} +{{ if eq .chezmoi.hostname "brothertec" -}} window_decorations = "NONE", +{{ else -}} +window_decorations = "TITLE | RESIZE", +{{ end -}} {{ end -}} tab_bar_at_bottom = true, hide_tab_bar_if_only_one_tab = false,