vimcmdline icon indicating copy to clipboard operation
vimcmdline copied to clipboard

change command for external terminal

Open smilesun opened this issue 5 years ago • 3 comments

gnome-termnial --version

I get

# GNOME Terminal 3.28.2 using VTE 0.52.2 +GNUTLS -PCRE2

If I execute

gnome-terminal -- "echo 'hi'"

or

gnome-terminal -- 'echo "hi"'

Then I got the error message There was an error creating the child process for this terminal Failed to execute child process “echo 'hi'” (No such file or directory)

this works however

gnome-terminal -- /bin/bash -c "echo 'hi'"

smilesun avatar Feb 13 '20 16:02 smilesun

I'm using XTerm now that it has support for true type fonts and I no longer have gnome-terminal installed. Does it work with /bin/sh instead of /bin/bash?

jalvesaq avatar Feb 15 '20 11:02 jalvesaq

@jalvesaq , /bin/sh does not have autocompletion

smilesun avatar Feb 15 '20 19:02 smilesun

also, if i change to xterm, the windows are not splitted inside tmux but a seperate window, I have set "let cmdline_tmux_conf = "~/.tmux.conf"

smilesun avatar Feb 15 '20 23:02 smilesun

After more than three years, I'm looking at this pull request again...

Bash autocompletion will not work inside the interpreter, so there is no need to run bash.

jalvesaq avatar Sep 24 '23 13:09 jalvesaq