this post was submitted on 15 Aug 2024
20 points (95.5% liked)

Linux

5187 readers
152 users here now

A community for everything relating to the linux operating system

Also check out !linux_memes@programming.dev

Original icon base courtesy of lewing@isc.tamu.edu and The GIMP

founded 1 year ago
MODERATORS
 

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.

you are viewing a single comment's thread
view the rest of the comments
[–] oscar@programming.dev 9 points 2 months ago* (last edited 2 months ago) (2 children)

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*".

[–] xtapa@discuss.tchncs.de 9 points 2 months ago

There was in fact a process still running. Killed it, reinstalled tmux and everythings back to default. Thanks!

[–] Perhyte@lemmy.world 2 points 2 months ago

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 :kill-server, assuming default keybindings).