ax_common="${dir}/lib/ax/ax-common.sh"
[[ -r "$ax_common" ]] && source "$ax_common"
done
-if [[ -z "$ax_common_sourced" || axzsh_is_dumb_terminal ]]; then
+if [[ -z "$ax_common_sourced" ]]; then
function ax_msg {
shift
echo "$@"
;;
"enable-default-plugins")
[[ $# -eq 0 ]] || Usage
- EnableDefaultPlugins
- UpdatePluginCache
+ EnableDefaultPlugins && UpdatePluginCache
;;
"check-plugins")
[[ $# -eq 0 ]] || Usage
;;
"set-theme")
[[ $# -eq 1 ]] || Usage
- SetTheme "$1"
- UpdatePluginCache
+ SetTheme "$1" && UpdatePluginCache
;;
"upgrade")
[[ $# -eq 0 ]] || Usage