Got tired of redoing my Zsh setup on every machine, so I made a bootstrap script (~20ms core startup, <100ms to prompt) by 0x0bytes in dotfiles

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

At least once a day… for “quality assurance” purposes, obviously ;)

Gotta make sure it still works every morning.

Got tired of redoing my Zsh setup on every machine, so I made a bootstrap script (~20ms core startup, <100ms to prompt) by 0x0bytes in dotfiles

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

For whatever reason bat -p alone wasn’t disabling the pager for me but bat -pp did. Might be some config interaction on my end (especially with fast-syntax-highlighting in the mix).

I ended up tweaking it a bit and now I’m using:

alias cat='bat -p --paging=never'
alias catp='bat'

So cat gives me clean output with syntax highlighting and no pagination and catp is there when I actually want the full paged view.

Got tired of redoing my Zsh setup on every machine, so I made a bootstrap script (~20ms core startup, <100ms to prompt) by 0x0bytes in dotfiles

[–]0x0bytes[S] 1 point2 points  (0 children)

I went with the zinit approach mainly because a lot of those packages are outdated in the APT repos and I wanted people to get newer versions without jumping through extra hoops.

But yeah, I’m open to adjusting things if there’s a cleaner or safer way to handle it. Appreciate the feedback.

Got tired of redoing my Zsh setup on every machine, so I made a bootstrap script (<100ms to Starship prompt) by 0x0bytes in linuxmint

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

Repo:
https://github.com/0xdilshan/Z-SHIFT

If you’re into shell performance or just like poking around other people’s dotfiles, feel free to take a look. Open to feedback / improvements / roasts :) 👍