再次嘗試使用腳本安裝
This commit is contained in:
parent
e9418b1ad9
commit
613f06fe4f
@ -45,20 +45,5 @@
|
|||||||
include = ["share/nvim/**"]
|
include = ["share/nvim/**"]
|
||||||
|
|
||||||
{{/* 手動安裝 zsh(已在install-packages.sh處理) */ -}}
|
{{/* 手動安裝 zsh(已在install-packages.sh處理) */ -}}
|
||||||
[".local/bin/zsh"]
|
|
||||||
type = "archive-file"
|
|
||||||
url = "https://github.com/romkatv/zsh-bin/releases/download/v6.1.1/zsh-5.8-linux-x86_64.tar.gz"
|
|
||||||
path = "bin/zsh"
|
|
||||||
[".local/share/zsh"]
|
|
||||||
type = "archive"
|
|
||||||
url = "https://github.com/romkatv/zsh-bin/releases/download/v6.1.1/zsh-5.8-linux-x86_64.tar.gz"
|
|
||||||
exact = true
|
|
||||||
include = ["./share/zsh/**"]
|
|
||||||
[".local/share/terminfo"]
|
|
||||||
type = "archive"
|
|
||||||
url = "https://github.com/romkatv/zsh-bin/releases/download/v6.1.1/zsh-5.8-linux-x86_64.tar.gz"
|
|
||||||
exact = true
|
|
||||||
include = ["./share/terminfo/**"]
|
|
||||||
|
|
||||||
{{/* 手動安裝 lazygit */ -}}
|
{{/* 手動安裝 lazygit */ -}}
|
||||||
{{ end }}
|
{{ end }}
|
||||||
|
@ -9,9 +9,9 @@
|
|||||||
{{/* 其他自訂手動安裝腳本: */ -}}
|
{{/* 其他自訂手動安裝腳本: */ -}}
|
||||||
|
|
||||||
{{/* 手動安裝 zsh */ -}}
|
{{/* 手動安裝 zsh */ -}}
|
||||||
# if command -v zsh &> /dev/null; then
|
if ! command -v zsh &> /dev/null; then
|
||||||
# sh -c "$(curl -fsSL https://raw.githubusercontent.com/romkatv/zsh-bin/master/install)" -- -d ~/.local -e no
|
sh -c "$(curl -fsSL https://raw.githubusercontent.com/romkatv/zsh-bin/master/install)" -- -d ~/.local -e no
|
||||||
# fi
|
fi
|
||||||
|
|
||||||
{{/* **** Root Mode ***************************************************** */ -}}
|
{{/* **** Root Mode ***************************************************** */ -}}
|
||||||
{{ else -}}
|
{{ else -}}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user