763: Automatically reload shell after enabling and disabling things.
parent
7415134878
commit
fb85db14a9
|
|
@ -243,6 +243,8 @@ _disable-thing ()
|
|||
rm $BASH_IT/$subdirectory/enabled/$(basename $plugin)
|
||||
fi
|
||||
|
||||
exec $0
|
||||
|
||||
printf '%s\n' "$file_entity disabled."
|
||||
}
|
||||
|
||||
|
|
@ -321,6 +323,8 @@ _enable-thing ()
|
|||
ln -s ../available/$plugin $BASH_IT/$subdirectory/enabled/$plugin
|
||||
fi
|
||||
|
||||
exec $0
|
||||
|
||||
printf '%s\n' "$file_entity enabled."
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue