Summary: | app-misc/mc - using subshell makes bash log some PS1-related junk into history | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Doktor Notor <notordoktor> |
Component: | Current packages | Assignee: | Alex Alexander (RETIRED) <wired> |
Status: | VERIFIED WORKSFORME | ||
Severity: | normal | CC: | desktop-misc, galtgendo |
Priority: | High | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
URL: | http://www.midnight-commander.org/ticket/2104 | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- |
Description
Doktor Notor
2010-03-13 13:56:13 UTC
Well, I'm seeing something alike, but it seems quite random. (In reply to comment #1) > Well, I'm seeing something alike, but it seems quite random. Good to know I'm not alone. Upstream stuff related to shell history: http://www.midnight-commander.org/ticket/2027 http://www.midnight-commander.org/ticket/2082 I guess I should file one about this there are well, it's not Gentoo-specific since I managed to reproduce this on FreeBSD as well. Though, I'd like to find out when exactly this happpens at least first before filing something upstream. Oh well... meanwhile, sticking export HISTIGNORE='cd "\`printf*' into $HOME/.bashrc seems to kill most of the junk. Since this clearly isn't anything Gentoo-specific, I'm closing the bug as UPSTREAM. Clean solutions still welcome. :) Ok, so... for those scratching their head about their clobbered history, this is the outcome :) http://www.midnight-commander.org/wiki/doc/faq#a6.8Iseelotofstrangecdprintflinesintomy.historyfile |