holzschu / holzschu/a-shell

Bookmarks aren't accessible from within Shortcuts

Open
#653 4 comments 0 reactions 0 assignees View on GitHub
Dominant language
Perl
Stars
3.9k
Forks
213
Avg merge
1m
Merged PRs (30d)
1

Description

Hello,

I see similar reports here regarding paths while running a-shell from Shortcuts but I didn't find anything that would help me there.

Here is a quote from README:

> Shortcuts can be executed either "In Extension" or "In App".
> …
> Both kind of shortcuts run by default in the same specific directory, `$SHORTCUTS` or `~shortcuts`. Of course, since you can run the commands `cd` and `jump` in a shortcut, you can pretty much go anywhere.

Basically, `cd` is not working for me when I use bookmarks with the "in-extension" option.

![image](https://github.com/holzschu/a-shell/assets/129271/9649cc2e-197b-481c-a5d9-9680b3131411)

When I'm doing `cd ~/Library` a-shell changes to a directory that has no Python packages or something that I see from within the app. Thus running commands like `~/Library/bin/myapp` or `~home/Library/bin/myapp` in Shortcuts end with an error `myapp: command not found`.

Strictly speaking "in-extension" mode appears unusable because I cannot reach the app's files somehow.

Am I doing something wrong?

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.