feat(zsh): zcompile after install
This commit is contained in:
parent
c6b4f0af38
commit
f6b4c7e0ce
@ -1,3 +1,5 @@
|
|||||||
|
#!/usr/bin/env bash
|
||||||
|
|
||||||
cat > "$HOME/.config/bash/bashrc.d/01_tmux.sh" << EOF
|
cat > "$HOME/.config/bash/bashrc.d/01_tmux.sh" << EOF
|
||||||
if command -v tmux 1>/dev/null && [[ -z "\$TMUX" ]] && [[ ! "\$TERM" =~ tmux ]]; then
|
if command -v tmux 1>/dev/null && [[ -z "\$TMUX" ]] && [[ ! "\$TERM" =~ tmux ]]; then
|
||||||
exec tmux new
|
exec tmux new
|
||||||
|
|||||||
5
install-hooks/zsh/post-install
Executable file
5
install-hooks/zsh/post-install
Executable file
@ -0,0 +1,5 @@
|
|||||||
|
#!/usr/bin/env zsh
|
||||||
|
|
||||||
|
for zfile in .zshrc .zprofile .zlogout .config/zsh/aliases .config/zsh/completion .config/zsh/history .config/zsh/options .config/zsh/other .config/zsh/plugin .config/zsh/prompt .config/zsh/sourcer; do
|
||||||
|
zcompile "$HOME/$zfile"
|
||||||
|
done
|
||||||
Loading…
x
Reference in New Issue
Block a user