Skip to content

Commit 16535e2

Browse files
committed
Change keyboard shortcut to work when installed with pipx
1 parent 84bbbc5 commit 16535e2

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/shelloracle/shell/shelloracle.bash

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
__shelloracle__() {
22
local output
3-
output=$(python3 -m shelloracle) || return
3+
output=$(shor) || return
44
READLINE_LINE=${output#*$'\t'}
55
if [[ -z "$READLINE_POINT" ]]; then
66
echo "$READLINE_LINE"

src/shelloracle/shell/shelloracle.zsh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ shelloracle-widget() {
44
setopt localoptions noglobsubst noposixbuiltins pipefail no_aliases 2> /dev/null
55

66
# Run the shelloracle python module and store the result in the "selected" array
7-
local selected=( $(SHOR_DEFAULT_PROMPT=${LBUFFER} python3 -m shelloracle) )
7+
local selected=( $(SHOR_DEFAULT_PROMPT=${LBUFFER} shor) )
88

99
# Get the return status of the last executed command
1010
local ret=$?

0 commit comments

Comments
 (0)