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

title update #70

Open
iron-udjin opened this issue Feb 9, 2023 · 0 comments
Open

title update #70

iron-udjin opened this issue Feb 9, 2023 · 0 comments

Comments

@iron-udjin
Copy link

Hello,

OS: FreeBSD-13-STABLE
tcsh: 6.22.04

I'm trying to set xterm window title for program which doesn't support title change. In ~/.tcshrc I have:

if ($?prompt3) then
    set echo_style=both
    alias postcmd 'echo -n "\033]2;${HOST}: \!#:0:q\007"'
endif

Everything works fine except one very annoying thing: in the tcsh history some commands saved two times. First time - command with arguments, second time - command without arguments + #+timestamp:

$ history 5
  4928    8:59    ls -la
  4929    8:59    ls#+1675925966
  4930    8:59    dmesg
  4931    8:59    history 5

Here is discussion regarding this problem on FreeBSD forum.

Is there a way to solve this problem?

Thank you!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant