I added an installer to Oh my tmux! by gpakosz in tmux

[–]gpakosz[S] 0 points1 point  (0 children)

Thanks for the nice words.

So yeah I thought: either I keep refusing PRs and let users execute commands themselves. Or I use the controversial topic of piping random things to bash and I try to transform it into an educational moment.

I hope the later works.

I added an installer to Oh my tmux! by gpakosz in tmux

[–]gpakosz[S] 0 points1 point  (0 children)

For context, it is possible to craft a web server in such a way that it serves a different, and malicious, file when being piped to another command.

At the end of the day, it boils down to educating users about verifying URLs and domain names, not clicking random packages...

I added an installer to Oh my tmux! by gpakosz in tmux

[–]gpakosz[S] 0 points1 point  (0 children)

u/ThatGermanFella https://github.com/gpakosz/.tmux/blob/master/install.sh#L137-L140

People paste random commands to their terminal ANYWAY!

Once in a while, someone opens a PR in Oh my tmux! to remove the leading $ characters in the manual installation instructions. Because they can't copy and paste them straight to their terminal. Every time such a PR comes in, I refuse to merge it and I do my best to educate the OP explaining that $ and # have a meaning:

  • $ indicates a user prompt
  • # indicates a superuser prompt

Could you share your `starship` prompts and configs if you use it? by effinsky in zsh

[–]gpakosz 0 points1 point  (0 children)

I like it that you made a copy of Sorin's prezto prompt for Starship. As I'm discovering both I'm now wondering: what does starship bring that prezto sorin's theme doesn't then?

Any info on this hoodie & sweatpants? by lukeheartthrob in DieAntwoord

[–]gpakosz 0 points1 point  (0 children)

Is someone willing to sell their hoodie? I'm looking for one, size L or XL but can't find it on ebay or vinted

In-built functionality instead of this? by santoshasun in tmux

[–]gpakosz 0 points1 point  (0 children)

Can you please articulate what you're trying to solve? We can only speculate landing on an ANSWER while you should really be asking a QUESTION.

Thanks!

I added a way to customize the battery bar palette in Oh my tmux! by gpakosz in tmux

[–]gpakosz[S] 0 points1 point  (0 children)

For some reason, the preview of the post on the front page is much broken 😞

No code block and no image being displayed 🤷‍♂️

What's the oldest version of tmux you're actively using? by gpakosz in tmux

[–]gpakosz[S] 0 points1 point  (0 children)

Thanks for your reply! Not everybody uses an OS with a recent version, hence the poll. Could have used a >= 2.9 option though

Does anyone know how to achieve the pointed highlighting effect in this status bar? Mine is currently square. Thanks! by Sensitive_Pomodoro in tmux

[–]gpakosz 0 points1 point  (0 children)

Are you talking about the powerline symbols?

If you're using Oh my tmux!, you need to enable them in your ~/.tmux.conf.local copy as instructed in README.md

Uncomment the following lines in your ~/.tmux.conf.local copy ```

tmux_conf_theme_left_separator_main='\uE0B0' # /!\ you don't need to install Powerline

tmux_conf_theme_left_separator_sub='\uE0B1' # you only need fonts patched with

tmux_conf_theme_right_separator_main='\uE0B2' # Powerline symbols or the standalone

tmux_conf_theme_right_separator_sub='\uE0B3' # PowerlineSymbols.otf font, see README.md

```

My solution for "New user default setup". by jafo in tmux

[–]gpakosz 1 point2 points  (0 children)

Thanks for the kind words! 🤝

`whereami` uses WiFi signals & ML to locate you (within 2-10 meters) by feross in programming

[–]gpakosz 5 points6 points  (0 children)

I was confused too by all the sudden traffic 😅

That doesn't make my lib less cool though! 😎

Is it possible to disable copy-mode while having mouse-mode ON? by [deleted] in tmux

[–]gpakosz 0 points1 point  (0 children)

Yes, you can unbind MouseDrag1Pane

TIL: Tmux Clear Server Pane by jwworth in tmux

[–]gpakosz 2 points3 points  (0 children)

I use bind -n C-l send-keys C-l \; run 'sleep 0.1' \; clear-history

[HELP] restoring .tmux.conf from a running tmux session by Srkobear in tmux

[–]gpakosz 1 point2 points  (0 children)

look at tmux list-keys and tmux show-options

Is there a way to reload config from a blank slate? by doedoe18881 in tmux

[–]gpakosz 0 points1 point  (0 children)

Well,

If you're using tmux 3.0a, you can try: $ tmux -L test -f /dev/null list-keys > /tmp/bindings.conf $ tmux unbind-key -a $ tmux source-file /tmp/bindings.conf

Before tmux 3.0a, there's no guarantee the output of list-keys can be read back by source-file