[Git-commits] [grml/grml-etc-core] 2c241e: zsh: commit-to-history: keep escaped character

Michael Prokop noreply at github.com
Thu Nov 14 17:30:42 CET 2019


  Branch: refs/heads/master
  Home:   https://github.com/grml/grml-etc-core
  Commit: 2c241ec8082ac5e826e2aaf29ff6d2eb94198c17
      https://github.com/grml/grml-etc-core/commit/2c241ec8082ac5e826e2aaf29ff6d2eb94198c17
  Author: Doan Tran Cong Danh <congdanhqx at gmail.com>
  Date:   2019-11-14 (Thu, 14 Nov 2019)

  Changed paths:
    M etc/zsh/zshrc

  Log Message:
  -----------
  zsh: commit-to-history: keep escaped character

Prior to this change, when committing this line to history

    echo "hello\"world"

zsh will record this line in history instead:

    echo "hello"world"

because the \" is processed by print.

Correct it by print in raw mode.

Signed-off-by: Doan Tran Cong Danh <congdanhqx at gmail.com>


  Commit: 1be4f3ede299206ae9c5f7558263eef7b7314fcc
      https://github.com/grml/grml-etc-core/commit/1be4f3ede299206ae9c5f7558263eef7b7314fcc
  Author: Michael Prokop <mika at grml.org>
  Date:   2019-11-14 (Thu, 14 Nov 2019)

  Changed paths:
    M etc/zsh/zshrc

  Log Message:
  -----------
  Merge remote-tracking branch 'origin/github/pr/88'


Compare: https://github.com/grml/grml-etc-core/compare/9bb05af2580c...1be4f3ede299


More information about the Git-commits mailing list