Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Announce of Zekyll v0.3, Jekyll for Zshrc and dotfiles
- X-seq: zsh-users 21655
- From: Sebastian Gniazdowski <sgniazdowski@xxxxxxxxx>
- To: Zsh Users <zsh-users@xxxxxxx>
- Subject: Announce of Zekyll v0.3, Jekyll for Zshrc and dotfiles
- Date: Sun, 12 Jun 2016 11:43:47 +0200
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:from:date:message-id:subject:to; bh=+1XhiyqtpAqRA8q4X5siQttcanVdkkDSL+KKYUl7nO0=; b=d0w7hFbPN4TogcGR5rgrzhsQROgNX2ejtcec2p1V7E8bK2mmHbL1wK9OfdrBMw9emv /kFgIJZwXxwh5/KeQvrf/SKNKiZ+CnQcXr+1bLTyvE4AZ9LFahtXBVA1NrBqeH4OpS5A Xq7J47Qv6i71P5xb3gMXEE+aGkmslp/cKfPrKIVrZ/yCyjgWyhmcE6psD3xRXCvxo9TF Lww9XQ3MhpNdvgcYjwKqknzLf+PTCTcxTI9b4eKFZqChsfbbcmkKMonTQXtgL0Ojj8eY Vqt+Xqe2oL6qh2rsork9IgwDYNkdr5el8Pk6wGLQCUeLVT+rR9sqG8GdKfO2O+rRL3Mz 2AHg==
- List-help: <mailto:zsh-users-help@zsh.org>
- List-id: Zsh Users List <zsh-users.zsh.org>
- List-post: <mailto:zsh-users@zsh.org>
- Mailing-list: contact zsh-users-help@xxxxxxx; run by ezmlm
Hello,
quick start: create a file ~/.zekyllfile:
yes
user psprint
zkl vega_sirius_software_zsh_linux_z3kyll
emit
run ~/zekyll, and have your .zshrc generated (~/.zshrc_new to be
exact). From what? Files taken from psprint/zkl github repository:
- file "ve"
- file "ga"
- etc.
What's the point? Sharing. It's easy to introduce snippet from other user:
yes
zkl psprint:vega_sirius_software
zkl someone:ab
zkl psprint:zsh_linux_z3kyll
emit
Other point? On new machine, one has to do only two steps. Install zekyll with:
sh -c "$(curl -fsSL
https://raw.githubusercontent.com/psprint/zekyll/master/install.sh)"
(I have domain zekyll.org this will be shorter). And then create
~/.zekyllfile with an easy to type phrase. Maybe even easy to
remember, for sure easy to carry in wallet written on a paper.
Zekyll works with any dot file. Here are advantages of static page
generation (with Jekyll like software) deceptively translated to dot
file word:
No backend
================
Dot files are often "backends", they're not used directly. Yes, one
can have dot files commited to Github, but on each installation
changes are rather introduced.
No moving parts
================
When sharing dot files, it's a situation when one has to track down
desired snippet in someone's large dot file, adapt it and store. Here
it will be different. The snippets will be broadly available. If
someone will decide to share a snippet that binds key "^t", he can
easily choose to provide version that binds key "^f". For 36
characters (26 latin letters, 10 digits; every zykell is two character
string) there are 1296 options to choose from. Let's share snippet
under name ab, then ac, who cares. So you will be able to directly
incorporate someone's carefully prepared for share dot file's snippet.
Statically.
================
As for "aren't the strings supposed to be nicely sounding". They will
be. I'm counting on creativity of users. And it's easy. Collisions are
rare and easy to resolve. I have following zykells that constitute
zshrc and vimrc (https://github.com/psprint/zkl)
ft ga hl im in ky ll my ne ng r1 rc re ri si so st us ux ve wa wv z3 zs
And they have strings embedded:
vega_sirius_software_zsh_linux_z3kyll
my_new_vim_str1ng
How to manage the files? via command zekyll-create. It creates a new
set of zykells from entered string, and checks for collisions:
https://asciinema.org/a/61ocyf6j5jht5dwsblds9y93r
Command zekyll-regenerate transforms given string to a new one. So
having messy string "ab12xy" one can transform it into "niceone". And
still, messy strings fit into wallet well, and too can be remembered,
and are in many ways better than cloning a repo, forgetting or
carrying a pen drive, manually altering, googling, etc.
I decided to share this early because I'm curious for opinions and
ideas. Any thoughts?
https://github.com/psprint/zekyll
--
Best Regards,
Sebastian Gniazdowski
Messages sorted by:
Reverse Date,
Date,
Thread,
Author