Skip to content

ejrichards/mellon

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

mellon - Speak, friend, and enter

Modules for Elvish Shell

Install

use epm
epm:install &silent-if-installed=$true github.com/ejrichards/mellon

NixOS

flake.nix supplies a NixOS module that lets you import in the same manner as epm

{
    ...
    nixosConfigurations = {
      modules = [
        mellon.nixosModules.default
      ];
    };
}

Usage

use github.com/ejrichards/mellon/<module>

atuin.elv

Add bindings for Ctrl-r and Up to use atuin for searching history.

if (has-external atuin) {
	use github.com/ejrichards/mellon/atuin
	set edit:insert:binding[Ctrl-r] = { atuin:search }
	set edit:insert:binding[Up] = { atuin:search-up }
}

fzf.elv

Add bindings for Ctrl-r and Up to use fzf for searching history.

if (has-external fzf) {
	use github.com/ejrichards/mellon/fzf
	set edit:insert:binding[Ctrl-r] = { fzf:history }
	set edit:insert:binding[Up] = { fzf:history }
}

yazi.elv

Add an alias y that will cd on quit.

if (has-external yazi) {
	use github.com/ejrichards/mellon/yazi
	edit:add-var y~ $yazi:y~
}

About

Modules for Elvish Shell

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published