Giter VIP home page Giter VIP logo

Comments (5)

zzamboni avatar zzamboni commented on June 26, 2024

@jacostag glad you like Elvish!

The error is because you are loading the wrong path. It should be github.com/zzamboni/elvish-modules/alias instead of github.com/zzamboni/elvish-completions/alias.

from elvish-modules.

jacostag avatar jacostag commented on June 26, 2024

hello, again, sorry, but is still not working for me :/
Exception: no such module: github.com/zzamboni/elvish-modules/alias
/home/gosz/.elvish/rc.elv, line 32: use github.com/zzamboni/elvish-modules/alias

This is my rc.elv:

eval (starship init elvish)
#eval $(thefuck --alias)
#eval "$(zoxide init bash)"

fn ls [@A]{ e:lsd $@A }
fn br [@arguments]{ #does not work
broot:br $@arguments
}
fn cat [@_args]{ bat $@_args }

use readline-binding

edit:insert:binding[Alt-Backspace] = $edit:kill-small-word-left~
edit:insert:binding[Alt-m] = $edit:-instant:start~
edit:max-height = 30

E:MANPAGER = "sh -c 'col -bx | bat -l man -p'"
E:EDITOR = "vim"
E:LC_ALL = "en_US.UTF-8"

use epm

epm:install &silent-if-installed ^
github.com/zzamboni/elvish-modules ^
github.com/zzamboni/elvish-completions ^
github.com/zzamboni/elvish-themes ^
github.com/xiaq/edit.elv ^
github.com/muesli/elvish-libs ^
github.com/iwoloschin/elvish-packages

use github.com/zzamboni/elvish-modules/alias #nor working

use github.com/zzamboni/elvish-modules/bang-bang #not working

use github.com/iwoloschin/elvish-packages/update
update:curl-timeout = 3
update:check-commit &verbose

from elvish-modules.

zzamboni avatar zzamboni commented on June 26, 2024

Can you run the following command by hand:

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

And then try to load the module again:

use github.com/zzamboni/elvish-modules/alias

If it still doesn't work, please check the following:

  • Does ~/.elvish/lib/github.com/zzamboni/elvish-modules/ exist? (if so, remove it and try again)
  • What errors do you get in the commands above?

from elvish-modules.

jacostag avatar jacostag commented on June 26, 2024

❯ epm:install github.com/zzamboni/elvish-modules
=> Package github.com/zzamboni/elvish-modules is already installed.

~ via 💎 v2.7.1
❯ use github.com/zzamboni/elvish-modules/alias
Exception: no such module: github.com/zzamboni/elvish-modules/alias
[tty 2], line 1: use github.com/zzamboni/elvish-modules/alias

~ via 💎 v2.7.1
❯ ls ~/.elvish/lib/github.com/zzamboni/elvish-modules/
 bang-bang

~ via 💎 v2.7.1
❯ use github.com/zzamboni/elvish-modules/bang-bang
Exception: no such module: github.com/zzamboni/elvish-modules/bang-bang
[tty 4], line 1: use github.com/zzamboni/elvish-modules/bang-bang

~ via 💎 v2.7.1

from elvish-modules.

jacostag avatar jacostag commented on June 26, 2024

ok, I fix it.
I uninstall the modules, reinstall and start using without issues :)

Thanks for the help

from elvish-modules.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.