先試做 unRoot mode: eza和neovim
This commit is contained in:
@@ -14,3 +14,26 @@
|
||||
url = "https://github.com/alacritty/alacritty-theme"
|
||||
refreshPeriod = "168h"
|
||||
{{ end }}
|
||||
|
||||
{{ if and .unRootMode (eq .chezmoi.arch "amd64")}}
|
||||
|
||||
{{/* 手動安裝 eza */ -}}
|
||||
{{ $ezaVersion := "v0.21.3" -}}
|
||||
[".local/bin/eza"]
|
||||
type = "archive-file"
|
||||
url = "https://github.com/eza-community/eza/releases/download/{{ $ezaVersion }}/eza_x86_64-unknown-{{ .chezmoi.os }}-gnu.tar.gz"
|
||||
path = "eza"
|
||||
|
||||
{{/* 手動安裝 neovim */ -}}
|
||||
{{ $nvimVersion := "v0.11.1" -}}
|
||||
[".local"]
|
||||
type = "archive"
|
||||
url = "https://github.com/neovim/neovim/releases/{{ $nvimVersion }}download/nvim-{{ .chezmoi.os }}-x86_64.tar.gz"
|
||||
exact = true
|
||||
stripComponents = 1
|
||||
path = "nvim-linux-x86_64"
|
||||
|
||||
|
||||
{{/* 手動安裝 zsh */ -}}
|
||||
{{/* 手動安裝 lazygit */ -}}
|
||||
{{ end }}
|
||||
|
||||
Reference in New Issue
Block a user