Comments (5)
Hi @Drllap . Really appreciate the PR! However, I had already fixed this in a different branch, just didn't get around to merge and actually deploy it up...
Now version 1.0.4 is in the main branch and also deployed to Powershell Gallery.
Please let me know if there are any issues still :)
from powercolorls.
Looks like this only happens when the symbolic link is the only thing in the folder
from powercolorls.
I found the issue here
If there is only one item in the path Get-ChildItem
returns FileInfo
. The Length
member of FileInfo
is the file size which is zero in the case of symbolic links.
A potential fix would just be to delete this if statement.
from powercolorls.
Thank you @Drllap for your issue report and your excellent description including reproduction steps.
I will look into this when I have a bit of time over :)
from powercolorls.
I have created a pull request that fixes this: #11
from powercolorls.
Related Issues (12)
- Add option to have internatioanl date format instead of long
- When command is aliased as `ls`, it breaks support for commands like `ls env:` HOT 2
- Import-Module failed at $glyphs["nf-fa-check"]
- Which font? HOT 1
- How to configure alias for the PowerColorLS command with options? HOT 2
- Add an (optional) flag to disable icons HOT 9
- Ignore symlinks when calculating directory sizes HOT 8
- [Feature Request] A flag for tree-like output HOT 1
- For some cases, icons are not displayed HOT 3
- Directories shown with a \ postfix when run on Linux HOT 3
- Possibility to use without the need for nerd fonts (i.e. disable icons) HOT 3
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 powercolorls.