add antigen and move webman into run_once

This commit is contained in:
2022-05-13 12:05:04 -06:00
parent 4f02661fc4
commit 7d2602cc34
3 changed files with 15 additions and 3 deletions

View File

@@ -1,6 +1,5 @@
FROM alpine:latest FROM alpine:latest
RUN apk --no-cache add git curl RUN apk --no-cache add git curl
RUN curl https://raw.githubusercontent.com/candrewlee14/webman/main/scripts/install.sh | sh
RUN sh -c "$(curl -fsLS git.io/chezmoi)" -- init --apply candrewlee14 RUN sh -c "$(curl -fsLS git.io/chezmoi)" -- init --apply candrewlee14
# RUN nvim --headless +'PlugInstall --sync' +qa # RUN nvim --headless +'PlugInstall --sync' +qa
# RUN nvim --headless -u ~/.config/nvim/coq_init.vim +'PlugInstall --sync' +qa # RUN nvim --headless -u ~/.config/nvim/coq_init.vim +'PlugInstall --sync' +qa

View File

@@ -124,5 +124,12 @@ path=("$HOME/.webman/bin" $path)
# To customize prompt, run `p10k configure` or edit ~/.p10k.zsh. # To customize prompt, run `p10k configure` or edit ~/.p10k.zsh.
[[ ! -f ~/.p10k.zsh ]] || source ~/.p10k.zsh [[ ! -f ~/.p10k.zsh ]] || source ~/.p10k.zsh
[[ -f ~/.antigen.zsh ]] && source ~/.antigen.zsh
antigen bundle 'wfxr/forgit'
antigen apply
# Local config # Local config
[[ -f ~/.zshrc.local ]] && source ~/.zshrc.local [[ -f ~/.zshrc.local ]] && source ~/.zshrc.local

View File

@@ -9,5 +9,11 @@ sudo apt install zsh tmux perl bash -y
{{- else if eq .osid "darwin" }} {{- else if eq .osid "darwin" }}
brew install neovim zsh tmux perl brew install neovim zsh tmux perl
{{- end }} {{- end }}
# curl -sS https://webinstall.dev/webi | bash
# ~/.local/bin/webi bat curlie delta jq rg fd gh curl -L git.io/antigen > ~/.antigen.zsh
curl https://raw.githubusercontent.com/candrewlee14/webman/main/scripts/install.sh | sh
~/.webman/bin/webman group add modern-unix --all || echo "Not all modern-unix packages installed successfully"
~/.webman/bin/webman add fzf || echo "Fzf install failed"
~/.webman/bin/webman add zellij || echo "zellij install failed"
~/.webman/bin/webman add nvim || echo "nvim install failed"