Various modules for Elvish
Switch branches/tags
Clone or download
zzamboni New &with option for util:max and util:min
The &with option allows specifying a function whose return value is compared, instead of the list elements themselves.
Latest commit 3b8ad40 Dec 4, 2018
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
LICENSE Create LICENSE Apr 16, 2018
README-src.org Added link to Elvish web page Jun 29, 2018
README.org Added link to Elvish web page Jun 29, 2018
alias.elv Ported to use styled instead of edit:styled May 31, 2018
alias.org Automatic summaries of modules included in the README Jun 28, 2018
atlas.elv Ported to use styled instead of edit:styled May 31, 2018
atlas.org Ported to use styled instead of edit:styled May 31, 2018
bang-bang.elv Various improvements Mar 31, 2018
bang-bang.org Automatic summaries of modules included in the README Jun 28, 2018
dir.elv New functions for movement by small word. Jul 29, 2018
dir.org Fixed link and improved alias instructions Dec 2, 2018
git-vcsh.elv BREAKING CHANGE: underscores to dashes Feb 19, 2018
git-vcsh.org BREAKING CHANGE: underscores to dashes Feb 19, 2018
leanpub.elv New do-subset function Oct 30, 2018
leanpub.org New do-subset function Oct 30, 2018
long-running-notifications.elv Ported to use styled instead of edit:styled May 31, 2018
long-running-notifications.org Automatic summaries of modules included in the README Jun 28, 2018
metadata.json Updated metadata Jan 24, 2018
nix.elv Ported to use styled instead of edit:styled May 31, 2018
nix.org Automatic summaries of modules included in the README Jun 28, 2018
opsgenie.elv New functions and improvements Nov 13, 2018
opsgenie.org New functions and improvements Nov 13, 2018
prompt-hooks.elv Cleanup and formatting Apr 1, 2018
prompt-hooks.org Automatic summaries of modules included in the README Jun 28, 2018
proxy.elv Ported to use styled instead of edit:styled May 31, 2018
proxy.org Automatic summaries of modules included in the README Jun 28, 2018
semver.elv Code clean up Apr 8, 2018
semver.org Automatic summaries of modules included in the README Jun 28, 2018
terminal-title.elv Cleanup and formatting Apr 1, 2018
terminal-title.org Automatic summaries of modules included in the README Jun 28, 2018
test.elv test:set now receives list instead of multiple arguments Jun 20, 2018
test.org Automatic summaries of modules included in the README Jun 28, 2018
util.elv New &with option for util:max and util:min Dec 4, 2018
util.org New &with option for util:max and util:min Dec 4, 2018
util_test.elv New &with option for util:max and util:min Dec 4, 2018

README.org

zzamboni’s Elvish libraries

This Elvish package contains various modules I have written for the Elvish shell. Themes and completions are kept in separate packages.

To install, use epm:

use epm
epm:install github.com/zzamboni/elvish-modules

For each module you want to use, you need to add the following to your rc.elv file:

use github.com/zzamboni/elvish-modules/<modulename>

See each module’s page for detailed usage instructions.

The following modules are included:

alias

Implementation of aliases for Elvish.

bang-bang

Implement the !! (last command), !$ (last argument of last command) and !<n> (nth argument of last command) shortcuts in Elvish.

dir

Keep and move through the directory history, including a graphical chooser, similar to Elvish’s Location mode, but showing a chronological directory history instead of a weighted one.

long-running-notifications

Produce notifications for long-running commands in Elvish.

nix

Functions to set up the Nix environment variables for Elvish.

opsgenie

This module implements a few common operations for the OpsGenie API in Elvish.

prompt-hooks

Convenience functions to add hooks to the prompt hook lists.

proxy

Manipulation of proxy-related environment variables (including auto-setting/unsetting based on a user-defined test) for Elvish.

semver

Comparison of semantic version numbers, as described in the Semantic Versioning specification.

terminal-title

Sets the terminal title dynamically using ANSI escape codes. By default the current directory is shown, and the name of the current command while one is executing.

test

A very simplistic test framework for Elvish.

util

Various utility functions.