- cross-posted to:
- [email protected]
- cross-posted to:
- [email protected]
cross-posted from: https://discuss.tchncs.de/post/20478370
cross-posted from: https://discuss.tchncs.de/post/20474285
I’ve been trying tmux and followed a video that showcases and offers a prebuilt config for styling and plugins. Something happended (guess I did something wrong?) the styling broke and I decided I’ll go bare bones and customize to my needs when needed instead of using preconfigured stuff. I deleted all configs and caches I could find with fzf and even reinstalled tmux, but still some broken styling is present and makes it unpleasent to work with. Some of my configs seem to be present even after uninstall, as the prefix is still C-Space instead of the default. There are some oh-my-zsh subfolders that contain tmux. I don’t know if those have been there before and I also don’t know, if I can delete them without breaking the next thing.
I’m on a MacBook and installed tmux via brew.
Maybe it’s still using the borked config because all sessions were not exited? Try exiting it and then make sure no tmux process is still running, by for example running
ps -aux | grep tmux
.Otherwise there must be some tmux config still lying around in your $HOME.
Edit: I don’t know anything about Macs so I’m just assuming it works similar to linux.
Does fzf search hidden folders? You could also try with this, to make extra sure:
find $HOME -name "*tmux*"
.There was in fact a process still running. Killed it, reinstalled tmux and everythings back to default. Thanks!
Try exiting it and then make sure no tmux process is still running, by for example running ps -aux | grep tmux.
For future reference: the command to kill the tmux daemon (and as a side-effect, all other running tmux processes connected to it) is
tmux kill-server
(or in tmux, typing <prefix>:kill-server
, assuming default keybindings).
It seems like you’re using the standard macOS Terminal. It has all kinds of issues with many terminal applications. I recommend switching to iTerm2. You can install it with a simple
brew install --cask iterm2
Huh, I had iterm running half a year ago and couldn’t see any advantage and removed it because of “simple systems” purist reasons. Guess I’ll try again.
macOS doesn’t support some basic ways of rendering text and colors. I see iTerm as strictly necessary if you are serious about using the Terminal on a Mac.
I mainly use it for git, basic files stuff and Scripting away chore tasks, so I never experienced any limits. But maybe I just touched some of that turf now.
Gonna take a stab, because I don’t have a Macbook within reach, but as it’s a Unix, it’s possible there’s a tmux.conf file at:
~/.tmux.conf
which would persist through tmux installs as it’s in the user’s directory.
If you’ve already checked this out, um…
cheers,
I’ll double check later or tomorrow, but afaik I deleted all files that contain tmux.
~/ .tmux.conf
is a hidden file, denoted by the “.”
The file isn’t there.
Tmux starts a daemon the first time, it’s quite opaque on that regard.