https://github.com/sitischu/erufu
Miscellaneous elvish modules
https://github.com/sitischu/erufu
elvish elvish-modules ssh-agent
Last synced: 2 months ago
JSON representation
Miscellaneous elvish modules
- Host: GitHub
- URL: https://github.com/sitischu/erufu
- Owner: SitiSchu
- License: lgpl-3.0
- Created: 2020-02-15T23:16:30.000Z (about 6 years ago)
- Default Branch: master
- Last Pushed: 2020-02-22T21:46:54.000Z (about 6 years ago)
- Last Synced: 2026-02-19T21:40:07.757Z (2 months ago)
- Topics: elvish, elvish-modules, ssh-agent
- Homepage:
- Size: 8.79 KB
- Stars: 2
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# erufu
Collection of elvish modules
## Installation
```
use epm
epm:install github.com/mojurasu/erufu
```
## Modules
### ssh-agent
Makes it possible to use the OpenSSH Agent with elvish.
`ssh-agent:run` Runs the ssh-agent and sets the required environment variables. Supported Arguments: `bind_adress`, `foreground`, `debug`, `fingerprint_hash`, `pkcs11_whitelist`, `lifetime` (look at the man page of ssh-agent on how to use them)
`ssh-agent:kill` Kill the current ssh-agent and unset its environment variables.
### femto
Apply multiple regex replacements on a value
`femto:new ` Add a new regex pattern that should be replaced by sub
`femto:abbr ` Apply all replacements created using `femto:new` to the string and return the new value
### cu
Module for the [CommonUnits](https://commonunits.org/) draft
`cu:clarkes` Returns the current time in clarkes
`cu:time` Convenience function that outputs the current time in kiloclarkes with the unit symbol attached