clear-history doesn't exist on macos?

21 views
Skip to first unread message

Davi Marcondes Moreira

unread,
Jan 31, 2022, 1:48:09 PM1/31/22
to tmux-users
Hi!

I've been using tmux in the last years but only in a Linux environment. Recently, I've switched to macos (darwin20.0) and I'm noticing some weird facts. Does anybody know why I can't find references for clear-history in macos? There is no mention in the manual page, the command is displayed in autocompletion when using command prompt but it doesn't work.

In macos, I'm using the 3.2a version, installed by homebrew.

Best,

Nicholas Marriott

unread,
Jan 31, 2022, 1:54:24 PM1/31/22
to Davi Marcondes Moreira, tmux-users
Are you sure you are looking at the man page that corresponds to your tmux version? Does "tmux list-commands" show it?



--
You received this message because you are subscribed to the Google Groups "tmux-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to tmux-users+...@googlegroups.com.
To view this discussion on the web, visit https://groups.google.com/d/msgid/tmux-users/c471cc40-1ece-44fe-85ef-183557ae8feen%40googlegroups.com.

Davi Marcondes Moreira

unread,
Jan 31, 2022, 1:59:34 PM1/31/22
to Nicholas Marriott, tmux-users
Actually it does! Thing is, I have a bind in my config file (https://github.com/devdrops/my-dotfiles/blob/main/tmux/.tmux.conf#L106) which works on Linux, but it doesn't in macos (when hitting prefix + ? the bind is not present), even though there are no errors when loading the same config file.


Davi Marcondes Moreira
devdrops.github.io/about
+55 (12) 9 8838 0036

Nicholas Marriott

unread,
Jan 31, 2022, 2:43:43 PM1/31/22
to Davi Marcondes Moreira, tmux-users
What if you do the bind from the shell or command prompt? Or remove some of the commands, does it appear?

Davi Marcondes Moreira

unread,
Jan 31, 2022, 3:03:35 PM1/31/22
to Nicholas Marriott, tmux-users
Tried both but still the same result =/

However, I've deleted the bind from my config file, closed all sessions and also iTerm, started it all again in a new session, and then tried by using the command prompt directly like `clear-history -t 0.0`, and it worked. Maybe there's an issue with my config file since I've been using Linux for a long time, but it's strange that there's no error when loading it. I'll try to go deep into this before new conclusions.

Thanks for the help!



Davi Marcondes Moreira
devdrops.github.io/about
+55 (12) 9 8838 0036
Reply all
Reply to author
Forward
0 new messages