Comments (9)
Hi, make sure you have the latest gnu core utils installed.
from xplr.
Else this line will fail:
Line 1554 in 59279b8
from xplr.
Hi, make sure you have the latest gnu core utils installed.
I installed the latest coreutils via homebrew, which is mentioned on the manual page. Should I debug or do something else?
from xplr.
from xplr.
btw, I check the path of realpath and stackoverflow, macOS has builtin realpath.
from xplr.
Mac's built-in realpath is outdated. You need to set the PATH variable in your .bashrc or .zshrc after installing the latest coreutils. Follow the message after (re)installing coreutils.
from xplr.
after installing, homebrew said
Commands also provided by macOS and the commands dir, dircolors, vdir have been installed with the prefix "g".
If you need to use these commands with their normal names, you can add a "gnubin" directory to your PATH with:
PATH="/opt/homebrew/opt/coreutils/libexec/gnubin:$PATH"
so currently macOS users could use grealpath
instead of realpath
to execute the commands.
could we make softlink for realpath or make pr to modify commands in rust file.
from xplr.
The best way is to add export PATH="/opt/homebrew/opt/coreutils/libexec/gnubin:$PATH"
in your .bashrc or .zshrc.
To create the softlinks, you'll need to replace the built-in commands which could break macos. Modifying the commands to add prefix g
isn't a good way, since it will break on Linux, while the issue is caused by outdated macos binaries. One thing we can do is, if the realpath command fails, fall back to just touch
.
from xplr.
problem solved! thanks!
from xplr.
Related Issues (20)
- Scrolling help and selection panes HOT 1
- config.node_types.file.style.fg foreground color isn't applied to files HOT 4
- Illegal format character q HOT 3
- "Error) could not enter" ...: Not a directory (os error 20)"
- Display current mode help menu on top
- CD: fix cross build
- xplr v0.21.3 fails to install via crates.io HOT 6
- cargo install xplr FAILS HOT 6
- Process exits when trying to open any text file on editor HOT 4
- How can I use "emacsclient -t" as EDITOR for xplr? HOT 5
- How to change selection pane size? HOT 2
- Provide option to sort based on user created custom column HOT 3
- Incorrect fuzzy search behavior HOT 4
- Mapping function keys higher than F12 does not work HOT 3
- How about adding a command line to enhance the usability? HOT 2
- Hitting enter after esc takes a long time HOT 6
- closing `xplr` with `q` or closing the terminal window closes any files opened in gui HOT 3
- Deleting files should not move the cursor to the top HOT 3
- Support Binstall HOT 1
- Support Debian/Ubuntu/Snapcraft HOT 20
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 xplr.