[ZSH] Reload zsh on dotfiles update
This commit is contained in:
@@ -44,8 +44,10 @@ fi
|
|||||||
|
|
||||||
# If the dotfiles were updated, we are sourcing this file again
|
# If the dotfiles were updated, we are sourcing this file again
|
||||||
if [ "$DOTFILES_UPDATED" -eq 1 ]; then
|
if [ "$DOTFILES_UPDATED" -eq 1 ]; then
|
||||||
|
echo "Reloading!"
|
||||||
source .zshrc
|
source .zshrc
|
||||||
else
|
else
|
||||||
|
echo "Actual run!"
|
||||||
# Load Antidote
|
# Load Antidote
|
||||||
mkdir -p ${ZDOTDIR:-~}/.cache/zsh
|
mkdir -p ${ZDOTDIR:-~}/.cache/zsh
|
||||||
static_file=${ZDOTDIR:-~}/.cache/zsh/.zsh_plugins.zsh
|
static_file=${ZDOTDIR:-~}/.cache/zsh/.zsh_plugins.zsh
|
||||||
|
|||||||
Reference in New Issue
Block a user