fixed chezmoi on phone

This commit is contained in:
eeleater 2024-11-25 00:57:12 +01:00
parent 572e061f63
commit 9c0a4ea635
4 changed files with 6 additions and 6 deletions

View file

@ -3,7 +3,7 @@
#assume_yes = true
# Disable specific steps - same options as the command line flag
{{- if eq .chezmoi.osRelease.id "endeavouros" }}
{{- if (and (eq .chezmoi.os "linux") (eq .chezmoi.osRelease.id "endeavouros")) }}
disable = ["tldr", "pip3", "node", "vim", "git_repos", "containers", "asdf", "distrobox", "helix", "composer", "yarn", "cargo", "remotes", "rustup", "vscode", "powershell", "dotnet", "flatpak", "shell", "snap", "sheldon", "clam_av_db"]
{{- else }}
disable = ["tldr", "pip3", "node", "vim", "git_repos", "containers", "asdf", "distrobox", "helix", "composer", "yarn", "cargo", "remotes", "rustup", "vscode", "powershell", "dotnet", "flatpak", "shell", "snap", "firmware", "sheldon", "clam_av_db"]

View file

@ -20,7 +20,7 @@ Aloxaf/fzf-tab
# other plugins
urbainvaes/fzf-marks
{{- if eq .chezmoi.osRelease.id "endeavouros" }}
{{- if (and (eq .chezmoi.os "linux") (eq .chezmoi.osRelease.id "endeavouros")) }}
sobolevn/wakatime-zsh-plugin
{{- end }}
laggardkernel/zsh-thefuck

View file

@ -65,7 +65,7 @@ export ZSH_CACHE_DIR="$XDG_CACHE_HOME"/zsh
export HISTFILE="$ZSH_CACHE_DIR"/history
export GPG_TTY="$TTY"
unset FZF_MARKS_JUMP
{{- if eq .chezmoi.osRelease.id "endeavouros" }}
{{- if (and (eq .chezmoi.os "linux") (eq .chezmoi.osRelease.id "endeavouros")) }}
export DIFFPROG='meld'
{{- end }}
export AUTO_NTFY_DONE_IGNORE="ntfy emacs htop info less mail man meld most mutt nano screen ssh tail tmux top vi vim watch bat cat kate topgrade"

View file

@ -9,7 +9,7 @@ unsetopt FLOW_CONTROL
# deduplicate path
typeset -U path PATH
{{- if eq .chezmoi.osRelease.id "endeavouros" }}
{{- if (and (eq .chezmoi.os "linux") (eq .chezmoi.osRelease.id "endeavouros")) }}
path+=("$XDG_DATA_HOME"/JetBrains/Toolbox/scripts) # jetbrains toolbox
path+=("$XDG_DATA_HOME/mise/shims") # mise
{{- end }}
@ -20,7 +20,7 @@ potentialBanner=('joke bofh' 'joke dad' 'fastfetch')
eval "$potentialBanner[$RANDOM%$#potentialBanner+1]"
# antidote
{{- if eq .chezmoi.osRelease.id "endeavouros" }}
{{- if (and (eq .chezmoi.os "linux") (eq .chezmoi.osRelease.id "endeavouros")) }}
source '/usr/share/zsh-antidote/antidote.zsh'
{{- else }}
test -r "$XDG_DATA_HOME"/antidote/antidote.zsh || git clone https://github.com/mattmc3/antidote.git "$XDG_DATA_HOME"/antidote
@ -33,7 +33,7 @@ antidote load
smartcache eval zoxide init --cmd cd zsh
smartcache eval atuin init zsh
smartcache eval direnv hook zsh
{{- if eq .chezmoi.osRelease.id "endeavouros" }}
{{- if (and (eq .chezmoi.os "linux") (eq .chezmoi.osRelease.id "endeavouros")) }}
smartcache eval mise activate zsh
{{- end }}