up
This commit is contained in:
29
home/.chezmoiscripts/run_once_after_40-shell-config.sh.tmpl
Normal file
29
home/.chezmoiscripts/run_once_after_40-shell-config.sh.tmpl
Normal file
@@ -0,0 +1,29 @@
|
||||
#!{{ lookPath "bash" }}
|
||||
|
||||
# title
|
||||
title="Zsh customization"
|
||||
|
||||
# include lib
|
||||
. ${CHEZMOI_WORKING_TREE}/scripts/utils.sh
|
||||
|
||||
# Environment variables
|
||||
ZIMDIR=${HOME}/.zim
|
||||
|
||||
|
||||
### Update shell install ###
|
||||
log "Begin ${title}"
|
||||
|
||||
|
||||
## Update cargo
|
||||
inf "installing cargo-update..."
|
||||
|
||||
cargo install cargo-update
|
||||
|
||||
### Config Zsh ###
|
||||
inf "installing zim framework"
|
||||
|
||||
$(which zsh) -c "source ${ZIMDIR}/zimfw.zsh init -q"
|
||||
|
||||
|
||||
log "${title} done"
|
||||
|
||||
Reference in New Issue
Block a user