Comments (11)
OK it looks like it needs a newer version of pygments. I installed it from pip and now this runs.
from xdg-ninja.
I get this error on Debian 11 too.
Markdown rendering will be done by pygmentize. (Glow is recommended)
The $XDG_DATA_HOME environment variable is not set, make sure to add it to your shell's configuration before setting any of the other environment variables!
⤷ The recommended value is: $HOME/.local/share
The $XDG_CONFIG_HOME environment variable is not set, make sure to add it to your shell's configuration before setting any of the other environment variables!
⤷ The recommended value is: $HOME/.config
The $XDG_STATE_HOME environment variable is not set, make sure to add it to your shell's configuration before setting any of the other environment variables!
⤷ The recommended value is: $HOME/.local/state
The $XDG_CACHE_HOME environment variable is not set, make sure to add it to your shell's configuration before setting any of the other environment variables!
⤷ The recommended value is: $HOME/.cache
Starting to check your $HOME.
[android-studio]: $HOME/.android
Error: no lexer for alias 'markdown' found
[ansible]: $HOME/.ansible
Error: no lexer for alias 'markdown' found
[audacity]: $HOME/.audacity-data
Error: no lexer for alias 'markdown' found
etc
It says "glow is recommended" but I'm not sure how to install that - it doesn't seem to be in the Debian repository.
from xdg-ninja.
That means you haven't set the XDG environment variables.
If you want them all at their default location, this probably isn't a huge deal, as almost every program will use the default location as a fallback.
If you did want to set these, you could indeed do it in your .bashrc.
from xdg-ninja.
Fine, but the console output says it will work without glow, but it doesn't:
Markdown rendering will be done by pygmentize. (Glow is recommended)
...
[android-studio]: $HOME/.android
Error: no lexer for alias 'markdown' found
from xdg-ninja.
This is a bit weird, are you able to run glow normally?
from xdg-ninja.
This is a bit weird, are you able to run glow normally?
Yes I had to compile glow. The only issue being I can only run it through ./glow on the compiled folder in home directory.
from xdg-ninja.
You'll have to move the compiled binary to some directory on your PATH, like /bin/ or /usr/bin/.
from xdg-ninja.
You'll have to move the compiled binary to some directory on your PATH, like /bin/ or /usr/bin/.
that fixed it thanks! While I am at it what is this warning about? is that something to do with .bashrc?
from xdg-ninja.
I have the same error and I don't even have glow.
from xdg-ninja.
I have the same error and I don't even have glow.
https://github.com/charmbracelet/glow
from xdg-ninja.
This is a problem with pygmentize, and since I'm not familiar with that tool, I unfortunately can't provide any assistance.
from xdg-ninja.
Related Issues (20)
- [Feature Request] Lint mode? HOT 5
- Add option to output to a file HOT 3
- Detection missing for .gtk-bookmarks
- Detection missing for .irb_history
- Detection missing for GNU Solfege
- Detection missing for uim.d
- Detection missing for jack
- Detection missing for .hyprland
- Detection missing for .krew
- Move references to issues and versions supporting XDG to separate keys
- More dotfiles HOT 1
- A better python_history solution HOT 2
- Explain when and where to move files HOT 1
- Feature request: only show actionable points HOT 2
- Update xdg ninja to say that the .minecraft folder can't be moved because the --workDir flag broke.
- [BUG] xdg-ninja says to move ~/.fonts.conf to $XDG_DATA_HOME instead of $XDG_CONFIG_HOME HOT 1
- Allow list support
- Add flake-compat
- Makefile could use 'chmod' on programs subdirectory
- Update swifttmp 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 xdg-ninja.