Re:Zellij – A Terminal Workspace and Multiplexer
by 002445 on Thursday April 22, 2021 @10:19AM
(#26903046)
I use tmux locally even though I run i3 as my window manager. Mostly because I configured tmux to show the current directory and git branch (if in a git directory) so I can keep my prompt a clean "$".
[ Parent
| on HN ]
Re:Zellij – A Terminal Workspace and Multiplexer
by earthboundkid on Thursday April 22, 2021 @11:06AM
(#26903585)
My trick is all the directory, date, git junk in my prompt is separated by a newline and then $, so when I copy and paste my shell somewhere, I can just drop those lines easily without having to do fine selection.
Re:Zellij – A Terminal Workspace and Multiplexer
by 002445 on Thursday April 22, 2021 @12:28PM
(#26904657)
That seems like a lot of wasted space to me. The benefit of putting it into tmux is it only shows in 1 place. I don't need to see the git branch and folder of the location where I ran my previous commands, I just need to see where I am at right now.
Re:Zellij – A Terminal Workspace and Multiplexer
by earthboundkid on Friday April 23, 2021 @09:23AM
(#26914489)
Seeing the old time is useful though because it lets you eyeball how long a command took to run even if you forgot to do `time`.
Re:Zellij – A Terminal Workspace and Multiplexer
by 002445 on Friday April 23, 2021 @03:41PM
(#26918376)
Do you ever need to know how long a command takes? And if you ever need it is it really worth a full line for every command that is ran. And it shows the time that the prompt is printed right? It doesn't show the time your command is executed if I am correct.
I guess you can hit enter before every command is entered to get the correct time but that is a lot of wasted space!
Maybe I'm getting too minimalist but I don't see the benefit to productivity in these over the top prompts.
Re:Zellij – A Terminal Workspace and Multiplexer
by davemp on Thursday April 22, 2021 @09:12PM
(#26910006)
Not knocking your setup but you can have can configure most terminal emulators to put that info in the title and have that displayed on your bar.
Re:Zellij – A Terminal Workspace and Multiplexer
by 002445 on Friday April 23, 2021 @12:02AM
(#26910854)
I use i3 and the Simple Terminal (ST) so no titles and no bars for me.
If anyone is curious what it looks like: https://imgur.com/Xx19sFn.png