Comments (4)
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.
Huh. I think something is wrong with my install... I have it in program files. I downloaded the exe from here.
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:
from elvish.
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.
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)
- What should (not $nil) be HOT 2
- Syntax errors in docs code examples HOT 8
- clarify the difference between `math:floor` and `math:trunc`
- Rpmlint reported `elvish.x86_64: E: readelf-failed /usr/bin/elvish 'utf-8' codec can't decode byte 0xc2 in position 7599: invalid continuation byte` when building on Fedora HOT 2
- gdb not working inside elvish HOT 10
- Support the kitty keyboard protocol
- Mapping `$edit:close-mode~` has no effect HOT 10
- `edit:complete-filename` call without arguments crashes elvish HOT 1
- Unique symbols HOT 1
- Disable flow control by default HOT 1
- vscode-neovim doesn't work with Elvish as default shell HOT 15
- Race condition when starting multiple instances simultaneously HOT 2
- RSS support for the blog
- Support semantic prompts (OSC 133)
- Directory Elvish is launched from doesn't seem to be added to location history HOT 8
- Docs for embedding Elvish? HOT 3
- RISC-V binaries HOT 1
- [Question] Quoting strings to pass to external commands? HOT 6
- API to change the in-command colours? HOT 2
- Cursor and prompt control in function to avoid prompt flick HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from elvish.