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