Linux Advent Calendar: "24 Outstanding ZSH Gems"
First time submitter Manko10 writes "After the Advent series last year, there is again a Linux Advent calender. The topic of this year's Advent series is '24 Outstanding ZSH Gems'. Every day from December 1st until December 24th an article will be published each covering a special feature of the Z Shell you might not have known yet."
Well, that'll get you through... what, the first page of the manual?
The damn thing has a built-in tcp command system (ok, I think it's technically a "module"). The main man page is just a redirect page. Hell, it might even rival emacs for complexity. I know, I didn't think it was possible either...
"None can love freedom heartily, but good men; the rest love not freedom, but license." --John Milton
I wasn't familiar with zsh until I used grml (a fairly handy debian-based live distro, I use for fixing things on occasion). It comes with a pretty spiffy zshrc and zsh by default, which opened me to some of the features of it... pretty nifty... Now I use zsh on everything.
Some info about grml's use of zsh, here.
Sent from my PDP-11
Not a ZSH gem, but this is probably the last word in BASH prompts.
PS1='C:$(echo ${PWD//\//\\\} | tr "[:lower:]" "[:upper:]" |
sed -e"s/\\([^\\]\\{6\\}\\)[^\\]\\{2,\\}/\\1~1/g" ) >'
you'd be wise not to trust random code, but if you look carefully it uses only echo, tr and sed, none of which have programmable IO and only piping, so it is safe.
SJW n. One who posts facts.
No, it's a Linux Advent Colander. For straining your linux advents.
Do you even lift?
These aren't the 'roids you're looking for.
You are looking for something like this?
Note to ACs: I won't mod you up, even if you are being funny or insightful. So take a chance! It's not real life!