Skip to content
New issue

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

bash eternal history PROMPT_COMMAND escaping tweak #2

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Commits on Jul 4, 2013

  1. PROMPT_COMMAND "\t" handling

    Append the output of a group command to .bash_eternal_history
    to avoid the history output getting interpreted by echo -e.
    Added -n to echo to maintain the format.
    
    PROMPT_COMMAND='{ echo -ne ...; history 1 }>>~/.bash_eternal_history''
    Brad Bowman committed Jul 4, 2013
    Configuration menu
    Copy the full SHA
    f770c0b View commit details
    Browse the repository at this point in the history
  2. Remove PROMPT_COMMAND escaping comment

    Brad Bowman committed Jul 4, 2013
    Configuration menu
    Copy the full SHA
    4228451 View commit details
    Browse the repository at this point in the history