Giter Club home page Giter Club logo

Comments (4)

krader1961 avatar krader1961 commented on May 23, 2024

elvish --version? Also, if the legacy path exists it is used even if the AppData path exists unless you're running the latest version of Elvish. So make sure only one of those files exists. And if you're running a sufficiently new version of Elvish then running put $runtime:effective-rc-path $runtime:rc-path can be helpful.

from elvish.

ThinkSalat avatar ThinkSalat commented on May 23, 2024

Huh. I think something is wrong with my install... I have it in program files. I downloaded the exe from here.
image

Same thing happens whenever I run ls, mkdir, etc. I followed everything here, then tried to install starship

this issue comes up trying to enter the put command above as well:

image

from elvish.

krader1961 avatar krader1961 commented on May 23, 2024

Only the builtin module is imported automatically. You have to explicitly import all other modules. I put this at the top of my rc.elv:

# Standard elvish modules we always want to be readily available.
use builtin
use epm
use file
use flag
use math
use path
use platform
use re
use readline-binding
use runtime
use store
use str

# Make my modules available.
use interactive
use github.com/krader1961/elvish-lib/util

The most likely reason the elvish binary isn't found is because you are modifying E:PATH (or paths) in your rc.elv. Programs like ls are not built into Elvish. They are external commands you'll need to install and put the appropriate directory in E:PATH.

from elvish.

ThinkSalat avatar ThinkSalat commented on May 23, 2024

Thanks for your help in the matrix Kurt. Closing this as resolved.

The issue: I had XDG_CONFIG_HOME set to a nonexistent directory, and I also didn't have the elvish install directory in my path.

from elvish.

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.