Compare commits

..

No commits in common. "cce7f22efb12a976c39052d202e3bfbd47b09050" and "ec967d9051490faa6cb4a7f14ffc9fe446f392ec" have entirely different histories.

2 changed files with 8 additions and 18 deletions

View File

@ -22,28 +22,18 @@
[".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/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"]
[".local"]
type = "archive"
url = "https://github.com/neovim/neovim/releases/download/{{ $nvimVersion }}/nvim-{{ .chezmoi.os }}-x86_64.tar.gz"
exact = true
stripComponents = 1
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/**"]
path = "nvim-linux-x86_64"
{{/* zsh(install-packages.sh) */ -}}
{{/* zsh */ -}}
{{/* lazygit */ -}}
{{ end }}

View File

@ -9,9 +9,9 @@
{{/* 其他自訂手動安裝腳本: */ -}}
{{/* 手動安裝 eza */ -}}
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
# if command -v eza &> /dev/null; then
#
# fi
{{/* **** Root Mode ***************************************************** */ -}}
{{ else -}}