Compare commits
3 Commits
ec967d9051
...
cce7f22efb
| Author | SHA1 | Date | |
|---|---|---|---|
| cce7f22efb | |||
| 05dfc9cc6d | |||
| 6638686cfe |
@ -22,18 +22,28 @@
|
||||
[".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"
|
||||
path = "./eza"
|
||||
|
||||
{{/* 手動安裝 neovim */ -}}
|
||||
{{ $nvimVersion := "v0.11.1" -}}
|
||||
[".local"]
|
||||
[".local/bin/nvim"]
|
||||
type = "archive-file"
|
||||
url = "https://github.com/neovim/neovim/releases/download/{{ $nvimVersion }}/nvim-{{ .chezmoi.os }}-x86_64.tar.gz"
|
||||
stripComponents = 1
|
||||
path = "bin/nvim"
|
||||
[".local/lib/nvim"]
|
||||
type = "archive"
|
||||
url = "https://github.com/neovim/neovim/releases/download/{{ $nvimVersion }}/nvim-{{ .chezmoi.os }}-x86_64.tar.gz"
|
||||
exact = true
|
||||
stripComponents = 1
|
||||
path = "nvim-linux-x86_64"
|
||||
include = ["lib/nvim/**"]
|
||||
[".local/share/nvim"]
|
||||
type = "archive"
|
||||
url = "https://github.com/neovim/neovim/releases/download/{{ $nvimVersion }}/nvim-{{ .chezmoi.os }}-x86_64.tar.gz"
|
||||
exact = true
|
||||
stripComponents = 1
|
||||
include = ["share/nvim/**"]
|
||||
|
||||
|
||||
{{/* 手動安裝 zsh */ -}}
|
||||
{{/* 手動安裝 zsh(已在install-packages.sh處理) */ -}}
|
||||
{{/* 手動安裝 lazygit */ -}}
|
||||
{{ end }}
|
||||
|
||||
@ -9,9 +9,9 @@
|
||||
{{/* 其他自訂手動安裝腳本: */ -}}
|
||||
|
||||
{{/* 手動安裝 eza */ -}}
|
||||
# if command -v eza &> /dev/null; then
|
||||
#
|
||||
# fi
|
||||
if command -v zsh &> /dev/null; then
|
||||
sh -c "$(curl -fsSL https://raw.githubusercontent.com/romkatv/zsh-bin/master/install)" -- -d ~/.local -e no
|
||||
fi
|
||||
|
||||
{{/* **** Root Mode ***************************************************** */ -}}
|
||||
{{ else -}}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user