Comments (10)
You probably have something in your .zshenv
, .zprofile
or .zlogin
or possibly .zshrc
which does a ls -A
for some reason.
You could just alias ls
to this script and you can just carry on using ls
options.
from exa.
Okay I found what was causing the issue for me. By moving the alias up through my zshrc
as suggested, I found that the line that was causing the issue for me as source /opt/homebrew/opt/chruby/share/chruby/chruby.sh
. I put this in my zshrc
because I tried working with Jekyll one time. So for me, turns out it wasn't the plugin manager at all, it was a shell script I had forgotten about.
from exa.
I made a little fork which supports -A argument, would you like to consider it pls >_<
from exa.
I looked through all my files and I do not see anywhere where "ls -A" is being used. I think -A might be the default when using ls so when doing the alias, exa doesn't know how to handle it? I'm not entirely sure. I can try to alias to that script, but I'm not sure how to do that. I clicked that link, but it looks like it had instructions if using bash and I am using zsh.
from exa.
I'm having the exact same issue, exa v0.10.1, zsh 5.9 (x86_64-apple-darwin22.0) using Zap, M1 Macbook Air with macOS Ventura. Same error pops up when I open my terminal (kitty) and whenever I source
my .zshrc
file. I've also looked through my files and couldn't find any ls -A
.
EDIT: I've cleared up the issue by moving the alias ls='exa ...'
to the very bottom of my .zshrc
. That makes the error message disappear when opening the terminal or source
ing a file. Hopefully that works for you too. (But we still don't know the cause of this problem.)
from exa.
@rayros25 You could try moving that alias line up file file 25% at a time until the error comes back, to find exactly which line that is causing it.
from exa.
So for Oh My ZSH, I have an aliases.zsh file. I still got the error whether the alias was at the top of my aliases file or at the bottom, BUT I removed it from the aliases.zsh file all together and moved it to the bottom of my .zshrc file and now the error went away for me too.
from exa.
This is why I really don't like omz. There's loads of stuff in it and you don't know what. I think it's a lot better to just add the stuff that you specifically want and use a plugin manager. I use antidote, but there are more popular alternatives.
from exa.
That's funny. I just looked and mine is the exact same issue for the exact same reason. chruby.sh
from exa.
Ah yeah, I guess if you alias ls
to something then run a script with some shells, it can go wrong. Closing because it has nothing to do with exa, then.
from exa.
Related Issues (20)
- --git does nothing if git config file has a multi-line value HOT 6
- βicons
- Cargo unable to build released version of Exa from cargo registry HOT 1
- Can I make the output color look like `ls`? HOT 8
- Use font dimming to communicate modification/creation time
- Missing library libgit2.so.1.6 after Arch update HOT 4
- Expose gitignore status to custom colorization via EXA_COLORS
- Would you be interested in having a Dockerfile for development? HOT 4
- `GIT_CEILING_DIRECTORIES` is not respected HOT 5
- Feature Request: sort files by git status HOT 2
- Allow Directory Permissions to use Different Color Values than File Permissions
- Library not loaded HOT 1
- Order of the columns HOT 1
- A way to not display the `@` (at sign) for files with extended attributes HOT 8
- Support `-z` for null-separated output
- Please remove special bin icon association HOT 1
- exa is unmaintained, please use the active fork eza instead HOT 17
- Sorry, my kid randomly touched the keyboard HOT 3
- So, this issue should probably be transferred to eza HOT 1
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 exa.