Skip to content

Commit b365a0e

Browse files
authored
Merge branch 'master' into rc
2 parents d6980f1 + f79d5aa commit b365a0e

File tree

1 file changed

+3
-6
lines changed

1 file changed

+3
-6
lines changed

Configs/.local/bin/hyde-shell

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@ hyde_reload() {
8888
list_script() {
8989
# Use HYDE_SCRIPTS_PATH to find scripts from all configured directories
9090
local HYDE_SCRIPTS_PATH="${HYDE_SCRIPTS_PATH:-${XDG_CONFIG_HOME:-$HOME/.config}/hyde/scripts:${LIB_DIR}/hyde}"
91-
91+
9292
# Convert to array, deduplicate, and filter out empty entries
9393
IFS=':' read -ra RAW_DIRS <<<"$HYDE_SCRIPTS_PATH"
9494
declare -A seen_dirs
@@ -102,7 +102,7 @@ list_script() {
102102
# Only add existing directories
103103
[[ -d "$dir" ]] && SCRIPT_DIRS+=("$dir")
104104
done
105-
105+
106106
# Find scripts in all configured directories
107107
for dir in "${SCRIPT_DIRS[@]}"; do
108108
find "$dir" -maxdepth 1 -type f \( -name "*.sh" -o -name "*.py" \) -exec basename {} \; 2>/dev/null
@@ -176,7 +176,7 @@ get_completion_data() {
176176

177177
# Get wallbash scripts
178178
local dirs=("${wallbashDirs[@]}")
179-
wallbash_scripts=("--help") # Add --help as first option
179+
wallbash_scripts=("--help") # Add --help as first option
180180
# Simplified - just --help for now since dynamic parsing is complex
181181

182182
# Export arrays for use by completion generators
@@ -459,7 +459,4 @@ if [[ "${BASH_SOURCE[0]}" == "${0}" ]]; then
459459
;;
460460
esac
461461

462-
else
463-
echo "HyDE shell script sourced. Use 'hyde-shell --help' for usage information."
464-
465462
fi

0 commit comments

Comments
 (0)