Comments (4)
This makes sense.
I won't do it immediately as there's a non zero probability the crossterm experiment will make the script useless but I keep the issue around for later.
from broot.
A problem with using /usr/share
: you typically need to be super user to write there.
As the goal is just to have a piece of configuration, a 10 lines shell function which could have been directly in the .bashrc
(or equivalent) file, this looks overly constraining for the user.
from broot.
When broot detects the script isn't here, it proposes to install it.
It could propose another option: to relaunch with appropriate rights and with an argument giving the path in which to install the launcher.
Such an option could be used by installers too.
from broot.
If I got this correctly, your problem right now is that you want to use /usr/share/
which is protected. So if this is the case, why don't simply use the next list entry in $XDG_DATA_DIRS
? Usually this should be then $XDG_DATA_HOME
of the user? If you still want to make it precise, ask the user in a dialog if he is fine with that, or if he wants to rerun it with root permissions. What do you think?
from broot.
Related Issues (20)
- Navigate through files in the same level
- $EDITOR env variable ignored HOT 5
- `br` command fails on Windows HOT 16
- Image preview in kitty is slow
- Clarify docs regarding `default_flags` usage HOT 2
- automatic title update when changing focused directory
- gitignore inconsistencies HOT 4
- Nushell's def-env command is deprecated HOT 6
- br can't be launched in a kitty startup session HOT 3
- Optionally use system trash implementation when using `rm` HOT 1
- Pressing `right` to open file leaves a `xdg-open` zombie process HOT 2
- shell command without quitting HOT 1
- For a symlink to another partition, opening it in a new panel shows a wrong fs size HOT 6
- broot --install on Windows PowerShell updates the wrong Profile.ps1 file HOT 6
- broot hangs on a large nested directory HOT 1
- actions on new panel broken on windows since 1.30 HOT 2
- When creating a new pane under Windows, the path contains garbage HOT 3
- Keep working directory of broot process in sync with directory of its currently focused panel HOT 7
- not a known internal: cp HOT 5
- :trash internal doesn't work in staging area HOT 2
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 broot.