Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Only first line in .stashrc or first command in a single-line multiple commands separated by ; is executed. #494

Open
tokyohandsome opened this issue May 5, 2023 · 1 comment

Comments

@tokyohandsome
Copy link

tokyohandsome commented May 5, 2023

Hi thank you for working on Stash.

I noticed a couple of issues which might be related:
Only the first line of .stashrc is loaded when Stash is launched or source command is manually run to set aliases.
Also, when I attempt to execute multiple commands in a single line, only the first command is executed.

Example (second command cat didn't run.):
[~/Documents]$ ls > ls.txt ; cat ls.txt
stash: ^C
KeyboardInterrupt: Exit: 0

[~/Documents]$ cat ls.txt
Examples launch_stash.py ls.txt site-packages stash_extensions Welcome.md
stash: ^C
KeyboardInterrupt: Exit: 0

Pythonista 3.4 and Stash dev version released yesterday installed:
[~/Documents]$ version
StaSh v0.8.0
Python 3.10.4 (CPython)
UI stash.system.shui.pythonista_ui
root: ~/Documents/site-packages/stash
core.py: 2023-05-05 13:15:38
SELFUPDATE_TARGET: master
Pythonista 3.4 (340012)
iOS 16.3.1 (64-bit iPhone10,2)
Platform iOS-16.3.1-iPhone10,2-64bit
BIN_PATH:
~/Documents/bin
~/Documents/stash_extensions/bin
~/Documents/site-packages/stash/bin

@tokyohandsome
Copy link
Author

Found this post at the Pythonista official user forum:
https://forum.omz-software.com/topic/8079/pythonista-3-4-error-keyboardinterrupt
It seems to be a bug of Pythonista (3.4).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant