File tree Expand file tree Collapse file tree 1 file changed +1
-2
lines changed
Expand file tree Collapse file tree 1 file changed +1
-2
lines changed Original file line number Diff line number Diff line change @@ -393,7 +393,6 @@ generate_completions() {
393393}
394394
395395run_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
455455export BIN_DIR LIB_DIR SHARE_DIR PATH HYDE_SCRIPTS_PATH
456456
457- # ? Handler for launchers that does not require other env variables
458457# *--------------------------------------------------------------------------------
459458if [[ " ${1} " == " app" ]]; then
460459 export PATH=" ${HYDE_SCRIPTS_PATH} :${PATH} "
You can’t perform that action at this time.
0 commit comments