Skip to content

Commit 302c504

Browse files
authored
Merge branch 'rc' into dev
2 parents 18129da + f0052f0 commit 302c504

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

Configs/.local/bin/hyde-shell

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -393,7 +393,6 @@ generate_completions() {
393393
}
394394

395395
run_command() {
396-
python_activate
397396
# Convert to array, deduplicate, and filter out empty entries
398397
IFS=':' read -ra RAW_DIRS <<<"$HYDE_SCRIPTS_PATH"
399398
declare -A seen_dirs
@@ -415,6 +414,7 @@ run_command() {
415414
exec bash "$dir/${1}.sh" "${@:2}"
416415
# Try .py extension
417416
elif [[ -f "$dir/${1}.py" ]]; then
417+
python_activate
418418
exec python "$dir/${1}.py" "${@:2}"
419419
# Try exact name (executable)
420420
elif [[ -f "$dir/${1}" && -x "$dir/${1}" ]]; then
@@ -454,7 +454,6 @@ HYDE_SCRIPTS_PATH="${HYDE_SCRIPTS_PATH:-${XDG_CONFIG_HOME:-$HOME/.config}/hyde/s
454454

455455
export BIN_DIR LIB_DIR SHARE_DIR PATH HYDE_SCRIPTS_PATH
456456

457-
#? Handler for launchers that does not require other env variables
458457
#*--------------------------------------------------------------------------------
459458
if [[ "${1}" == "app" ]]; then
460459
export PATH="${HYDE_SCRIPTS_PATH}:${PATH}"

0 commit comments

Comments
 (0)