shellwise 0.1.2 → 0.1.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/scripts/setup.sh +6 -8
package/package.json
CHANGED
package/scripts/setup.sh
CHANGED
|
@@ -11,14 +11,12 @@ BOLD='\033[1m'
|
|
|
11
11
|
RESET='\033[0m'
|
|
12
12
|
|
|
13
13
|
# Detect if this is a local (not global) install
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
exit 0
|
|
21
|
-
fi
|
|
14
|
+
# Only check for 'shellwise' binary (not 'sw' which may conflict with other tools)
|
|
15
|
+
if [[ -z "$(command -v shellwise 2>/dev/null)" ]]; then
|
|
16
|
+
echo -e "${YELLOW}${BOLD}[shellwise]${RESET} This is a CLI tool — install it globally:"
|
|
17
|
+
echo -e " ${BOLD}bun install -g shellwise${RESET}"
|
|
18
|
+
echo -e " ${DIM}or: npm install -g shellwise${RESET}"
|
|
19
|
+
exit 0
|
|
22
20
|
fi
|
|
23
21
|
|
|
24
22
|
MARKER="# shellwise shell integration"
|