Tiny Core Linux
Tiny Core Extensions => TCE Bugs => Topic started by: Misalf on February 01, 2017, 03:30:24 PM
-
Using Midnight Commander on piCore 8.x creates lots of quite useless entries like the following in .ash_history .
precmd() { if [ ! "${PWD##$HOME}" ]; then MC_PWD="~"; else [ "${PWD##$HOME/}" = "$PWD" ] && MC_PWD="$PWD" || MC_PWD="~/${PWD##$HOME/}"; fi; echo "$USER@$(hostname -s):$MC_PWD"; pwd>&6; kill -STOP $$; }; PRECMD=precmd; PS1='$($PRECMD)$ '
Does anyone know how to prevent / fix this?
BTW, .bash_history is not affected.
-
I can't reproduce, both tc and root history is clean on my development system and on a new installation. Please delete your history, make a backup and watch for it. If appears again, try to identify steps caused it.
Thanks!
-
Could MC add these when you pressing <CTRL><O>.
To switch between the MC and Shell.