Skip to content
#

Shell

A shell is a text-based terminal, used for manipulating programs and files. Shell scripts typically manage program execution.

Here are 119 public repositories matching this topic...

samuelvanderwaal
samuelvanderwaal commented Sep 24, 2020

Describe the bug
NuShell native and external commands hang when followed by a newline/linefeed character.

To Reproduce
Steps to reproduce the behavior:

  1. Open a text editor.
  2. Type ls followed by the Enter key.
  3. Copy paste the entire text including the line return to the command line.
  4. NuShell will try to execute the command immediately but hang and do nothing.
  5. Teste
durin42
durin42 commented Jul 1, 2020

if you have a command typed as

echo foo \
  bar

that ends up as separate entries in mcfly, rather than a single one. It looks like mcfly is incorrectly parses the history entry? The relevant snippet for that from my .zsh_history is:

: 1593624164:0;echo foo \\
 bar

It looks like mcfly is getting confused by this, and I think it only gets the last line of the comman

Created by Glenda Schroeder

Released 1965

Wikipedia
Wikipedia

Related Topics

bash
You can’t perform that action at this time.