Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion bin/omarchy-plugin-add
Original file line number Diff line number Diff line change
Expand Up @@ -147,7 +147,7 @@ fi
mv "$stage" "$target"
echo "Added $id into $target"

omarchy-shell shell rescanPlugins >/dev/null
omarchy-shell -q shell rescanPlugins

if [[ -z $enable_after ]]; then
if (( ASSUME_YES )) || ! interactive; then
Expand Down
2 changes: 1 addition & 1 deletion bin/omarchy-plugin-clone
Original file line number Diff line number Diff line change
Expand Up @@ -146,7 +146,7 @@ update_manifest "$stage" "$source_id" "$new_id" "$display_name"
mv "$stage" "$target_dir"
stage=""

omarchy-shell shell rescanPlugins >/dev/null
omarchy-shell -q shell rescanPlugins
discovered=0
for (( attempt = 0; attempt < 40; attempt++ )); do
if omarchy-plugin-list --json | jq -e --arg id "$new_id" 'any(.[]; .id == $id)' >/dev/null; then
Expand Down
2 changes: 1 addition & 1 deletion bin/omarchy-plugin-remove
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,7 @@ else
echo "Removed $id. Backup at: $backup"
fi

omarchy-shell shell rescanPlugins >/dev/null
omarchy-shell -q shell rescanPlugins

if [[ -n $cloned_from && $was_enabled == "true" ]]; then
echo "Restored $cloned_from."
Expand Down
2 changes: 1 addition & 1 deletion bin/omarchy-plugin-update
Original file line number Diff line number Diff line change
Expand Up @@ -128,6 +128,6 @@ for id in "${targets[@]}"; do
done

if (( UPDATED_ANY )); then
omarchy-shell shell reloadPlugins >/dev/null
omarchy-shell -q shell reloadPlugins
fi
exit $rc