add settings for other systems like fedora

This commit is contained in:
Simon Rieger 2023-09-12 14:02:22 +02:00
parent 364c6e7188
commit e9359bb046
2 changed files with 12 additions and 1 deletions

View file

@ -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

View file

@ -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,