Bookmarks aren't accessible from within Shortcuts
- 主要言語
- Perl
- スター
- 3.9k
- フォーク
- 213
- 平均マージ
- 1分
- マージ済み PR(30日)
- 1
説明
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.

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?
コントリビューションガイド
このリポジトリのコントリビューションガイドは索引されていません
調査の方向性
Start by reproducing the reported `cd ~/Library` behavior in an iOS Shortcut using the “In Extension” option, then compare it with “In App” and the README’s `$SHORTCUTS` directory description. Trace how bookmarks and app-file paths are exposed to the extension; done means the expected app files are reachable from an in-extension Shortcut or the limitation is clearly documented.
索引モデルが issue の本文から書いたものです。
評価
- 技術スタック
- ios
- 領域
- cli, mobile-dev
- issue の種類
- バグ
- 難易度
- 4/5
- 見積もり時間
- 3〜5日
- 活発さ
- 停滞
- 明瞭さ
- おおむね明確
- 初心者へのやさしさ
- 35/100