We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
i would like to be able to paste a multiline example and it works right
f() { local -n out=$1 # -n for named reference out=bar } x=foo f x echo x=$x
bash
[user@nixos:~]$ f() { local -n out=$1 # -n for named reference out=bar } x=foo f x echo x=$x x=bar
ysh
ysh ysh-0.22.0$ f() {^J local -n out=$1 # -n for named reference^J out=bar^J}^J^Jx=foo^Jf x^Jecho x=$x^Jx=bar
osh
osh-0.22.0$ f() {^J local -n out=$1 # -n for named reference^J out=bar^J}^J^Jx=foo^Jf x^Jecho x=$x ^J
i realize this specific example is like, a bash script i passed into ysh and osh, but same thing happens if it was valid i think.
The text was updated successfully, but these errors were encountered:
related but separate technically, is there a toggle hat would turn off the automatic scrolling when long lines are pasted? i'd rather it wrap
Sorry, something went wrong.
Hmm I think this is also a GNU readline thing we don't control
But it has a lot of settings, so not sure if this could be addressed
I think this is the same as bash right? what about zsh or other shells?
Top example bash pasted the whole thing and wraps, I'll try and check zsh and some others soon
Reported on Zulip - https://oilshell.zulipchat.com/#narrow/stream/121539-oil-dev/topic/pasting.20multiple.20lines.20of.20commands.20doesn't.20work.20in.20osh
Hmm this is another related thing we should check with OILS_COMP_UI=minimal, which @melvinw is working on
That was for
PS1
No branches or pull requests
i would like to be able to paste a multiline example and it works right
bash
ysh
osh
i realize this specific example is like, a bash script i passed into ysh and osh, but same thing happens if it was valid i think.
The text was updated successfully, but these errors were encountered: