1
0
chezmoi/home/.chezmoiscripts/run_once_after_40-install-shell.sh.tmpl

38 lines
540 B
Cheetah
Raw Normal View History

2024-05-07 21:17:46 +00:00
#!{{ lookPath "bash" }}
2024-02-28 20:38:45 +00:00
2024-08-03 15:21:54 +00:00
# include lib
. ${CHEZMOI_WORKING_TREE}/scripts/utils.sh
. ${HOME}/.asdf/asdf.sh
2024-02-28 20:38:45 +00:00
2024-03-01 10:37:17 +00:00
# Environment variables
2024-03-03 16:05:53 +00:00
ZIMDIR=${HOME}/.zim
2024-02-28 20:38:45 +00:00
2024-03-01 10:47:05 +00:00
2024-08-03 15:21:54 +00:00
### Update shell install ###
log "Begin Zsh customization"
2024-02-28 20:38:45 +00:00
2024-04-10 21:59:18 +00:00
## Update cargo
2024-08-03 15:21:54 +00:00
inf "installing cargo-update..."
2024-04-10 21:59:18 +00:00
cargo install cargo-update
2024-03-03 12:23:46 +00:00
## Install Atuin
2024-08-03 15:21:54 +00:00
inf "installing atuin..."
2024-03-03 12:23:46 +00:00
2024-03-03 17:23:46 +00:00
cargo install atuin
2024-03-03 14:57:18 +00:00
2024-04-25 14:49:25 +00:00
## Reshim
2024-08-03 15:21:54 +00:00
inf "asdf reshim..."
2024-04-25 14:49:25 +00:00
asdf reshim
2024-03-03 17:27:34 +00:00
### Config Zsh ###
2024-08-03 15:21:54 +00:00
inf "installing zim framework"
2024-03-03 17:27:34 +00:00
$(which zsh) -c "source ${ZIMDIR}/zimfw.zsh init -q"
2024-08-03 15:21:54 +00:00
log "Finish Zsh customization"
2024-03-03 17:27:34 +00:00