delete p10k configuration file to force reconfiguring on install, and replace dot_install_scripts with run_once_install.sh.tmpl
This commit is contained in:
@@ -1,6 +0,0 @@
|
||||
#!/bin/zsh
|
||||
apk update
|
||||
apk add neovim tmux bat
|
||||
source ~/.zshrc
|
||||
p10k configure
|
||||
lchsh -i $(whoami)
|
||||
1641
dot_p10k.zsh
1641
dot_p10k.zsh
File diff suppressed because it is too large
Load Diff
12
run_once_install.sh.tmpl
Normal file
12
run_once_install.sh.tmpl
Normal file
@@ -0,0 +1,12 @@
|
||||
#!/usr/bin/env bash
|
||||
{{- if eq .chezmoi.os "linux" }}
|
||||
{{- if eq .chezmoi.osRelease.id "alpine" }}
|
||||
apk update
|
||||
apk add zsh neovim tmux bat
|
||||
{{- else if eq .chezmoi.osRelease.id "debian" }}
|
||||
sudo apt update
|
||||
sudo apt install zsh neovim tmux -y
|
||||
{{- end }}
|
||||
{{- else if eq .chezmoi.os "darwin" }}
|
||||
brew install zsh neovim tmux
|
||||
{{- end }}
|
||||
Reference in New Issue
Block a user