vim-repl icon indicating copy to clipboard operation
vim-repl copied to clipboard

Only support zsh?

Open minrui-hust opened this issue 3 years ago • 4 comments

Got this when run in neovim

/bin/bash: ++: invalid option Usage: /bin/bash [GNU long option] [option] ... /bin/bash [GNU long option] [option] script-file ... GNU long options: --debug --debugger --dump-po-strings --dump-strings --help --init-file --login --noediting --noprofile --norc --posix --rcfile --restricted --verbose --version Shell options: -ilrsD or -c command or -O shopt_option (invocation only) -abefhkmnptuvxBCHP or -o option

[Process exited 2]

does it only support zsh?

minrui-hust avatar Oct 10 '20 08:10 minrui-hust

bash works on my machine. what's your configuration for vim-repl?

sillybun avatar Oct 21 '20 12:10 sillybun

Wait ~~~ repl now works with neovim? If so, pls let me know! When I installed with PlugInstall & tried to run it, I got:

   11 - vim-repl: remote: Total 68 (delta 1), reused 49 (delta 0),│~
    0 /bin/bash: ++: invalid option
    1 Usage:  /bin/bash [GNU long option] [option] ...
    2         /bin/bash [GNU long option] [option] script-file ...
    3 GNU long options:
    4         --debug
    5         --debugger
    6         --dump-po-strings
    7         --dump-strings
    8         --help
    9         --init-file
   10         --login
   11         --noediting
   12         --noprofile
   13         --norc
   14         --posix
   15         --pretty-print
   16         --rcfile
   17         --restricted
   18         --verbose
   19         --version
   20 Shell options:
   21         -ilrsD or -c command or -O shopt_option         (invocation only)
   22         -abefhkmnptuvxBCHP or -o option
   23
   24 [Process exited 2]

I guess it still for vim only. :(

shy00n avatar Nov 25 '20 15:11 shy00n

I am using follwing options, and still get the same error under neovim

let g:repl_program = {
            \   'python': 'ipython',
            \   'default': 'zsh',
            \   'r': 'R',
            \   'lua': 'lua',
            \   'vim': 'vim -e',
            \   }
let g:repl_cursor_down = 1
let g:repl_python_automerge = 1
let g:repl_output_copy_to_register = "t"

bash version 5.1.8 zsh version 5.8

neovim is started from a zsh and zsh is also my default shell!

spamwax avatar Jul 28 '21 00:07 spamwax

also have this problem. using zsh,

bin/bash: ++: invalid option

not sure what options are being passed.

Aricg avatar Mar 23 '22 19:03 Aricg