mirror of
https://github.com/fish-shell/fish-shell.git
synced 2024-12-15 02:14:24 +08:00
1e858eae35
This demonstrates that we only write control sequences when interactive.
12 lines
172 B
Fish
12 lines
172 B
Fish
# RUN: %fish %s
|
|
|
|
# Ensure we don't hang on deep command substitutions - see #6503.
|
|
|
|
set s "echo hooray"
|
|
for i in (seq 63)
|
|
set s "echo ($s)"
|
|
end
|
|
eval $s
|
|
#CHECK: hooray
|
|
|