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 use the following hack in shell-mode-hook:
shell-mode-hook
(lambda nil (when (file-remote-p default-directory) (let* ((proc (get-buffer-process (current-buffer)))) (accept-process-output proc) (delete-line) (process-send-string proc "export HISTCONTROL=ignoreboth; bind 'set enable-bracketed-paste off'; history -d $(history 1)\n"))) ...)
to do this (and to avoid an annoying double prompt display).
Is there a better way?
The text was updated successfully, but these errors were encountered:
That seems like a good way to do it.
Sorry, something went wrong.
No branches or pull requests
I use the following hack in
shell-mode-hook
:to do this (and to avoid an annoying double prompt display).
Is there a better way?
The text was updated successfully, but these errors were encountered: