Today, I finally have most of the goodness of my shell packed as a single repository. I say most because, I still have some things stuck in antigen with no clear migration path. Until then give these goodies a whirl, and do give a shout out to me if you need any help setting them up; I’ve added instructions of getting them up and ready with the common - a metric defined by the number of GitHub stars the framework has - frameworks out there. (My favourite is undoubtedly
Prezto
for it’s super fast startup).
##Installation
Installing under Prezto
Add cli-goodies
to your .zpreztorc
file:
Installing under oh-my-zsh
I haven’t tried using cli-goodies
with oh-my-zsh
and I think the following should work in theory.
Installing using Antigen
If you use Antigen, adding the following line to .zshrc
should load cli-goodies
.
Using cli-goodies
anywhere else
Anyone running zsh
should only need to add the following line to their .zshrc
:
##Dependencies
You’ll need to install peru
to get the completions working. Peru is a simple file downloader with a declarative syntax. While curl
could be used to accomplish the same, peru
is simpler to read.
##Features Completions
Scripts/Functions
- cron-wallpaper: Change wallpapers using cron.
- dnd: DND mode for Elementary OS.
- folder2md: Convert a directory tree to markdown.
- offline: Stores commands when offline and execute later in batch.
- pastebin: Create a pastie using sprunge.us
- proxy: Enable/disable proxy settings.
- repos: Helper for myrepos.
- sdp: scp for directories.
- showtoiletfonts: Show available toilet fonts.
- stats-cli: Compute avg, sd, min, max from a list.
- transfer: Use transfer.sh to transfer files from the CLI.
I hope that you have fun using these tools as much as I do. PRs are encouraged.
Fin.