Comments (6)
I've been honestly struggling with this issue for quite some time. Unfortunately, I don't see a clear consensus on what should be the de facto path for local binary folders. I see:
/usr/local/bin
as one of the most used (but this requires root access)- [
$HOME/.local/bin
] for modern distros (Debian based mostly) which you provided the XDG page $HOME/bin
- I just choose this one for now but I am always open for ideas. Let's wait for other opinions here and maybe check which folder people are really using right now
from glow.nvim.
I've been honestly struggling with this issue for quite some time. Unfortunately, I don't see a clear consensus on what should be the de facto path for local binary folders. I see:
/usr/local/bin
as one of the most used (but this requires root access)- [
$HOME/.local/bin
] for modern distros (Debian based mostly) which you provided the XDG page$HOME/bin
- I just choose this one for now but I am always open for ideas. Let's wait for other opinions here and maybe check which folder people are really using right now
I don't know any major Linux distro that uses anything other than $HOME/.local/bin, or $HOME/.local/usr/bin, for local installation without admin privileges. All major distros follow the XDG spec which is backed by GNOME, KDE, RedHat, OpenSuse, and Debian based distros.
from glow.nvim.
$HOME/.local/usr/bin
is standard and mentioned in the XDG specification https://specifications.freedesktop.org/basedir-spec/basedir-spec-latest.html
Beyond that, you can also allow this to come in a configurable way:
- allow to configure the existing glow binary path
- allow to configure the path to use to download the glow binary if not existing
- allow to configure to simply try to use
glow
from the existing $PATH (do not attempt to install)
from glow.nvim.
yeah, i am leaning towards having a default path (probably ~/.local/usr/bin or ~/.local/bin) and make that path configurable. Thanks for the feedback guys
from glow.nvim.
we now have g:glow_binary_path
which can be used as the binary destination. It defaults to $HOME/.local/bin
. :GlowInstall
will use it to download and extract over there. If everything goes ok on your side can we close this one?
from glow.nvim.
we now have
g:glow_binary_path
which can be used as the binary destination. It defaults to$HOME/.local/bin
.:GlowInstall
will use it to download and extract over there. If everything goes ok on your side can we close this one?
It's fixed. I'll close. Great job!
from glow.nvim.
Related Issues (20)
- be explicit in README what markdown standard you support HOT 1
- Auto jump to current location in preview window / Show markdown in splits? HOT 1
- Glow binary is not installed HOT 19
- Weird Markdown preview HOT 3
- Glow Window Empty HOT 3
- Not working on macOS HOT 6
- Option to add more markdown extensions? HOT 1
- Syntastic and glow.nvim: Undefined variable: w:syntastic_wid HOT 3
- Glow shows a blank screen HOT 11
- Neovim hangs right after running :Glow file HOT 7
- [glow] could not execute glow binary in path= . in Windows 10 HOT 4
- Test
- [Feature] Concealer HOT 1
- Can't run glow.nvim, module "glow" not found HOT 1
- Light theme not readable
- Avoid popup HOT 1
- Run Glow with Lua command HOT 2
- Glow is not rendering Headings and Dropdowns HOT 3
- feature: configurable filetypes HOT 1
- error when rendering big markdown file
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 glow.nvim.