Comments (6)
Dear Sir, XDG compliance is surely a priority, hence with the next release the default directory will change its position.
Let's keep this open until it is fixed.
from kb.
Dear Sir, XDG compliance has been implemented. Of course it will break some sort of compatibility with previous versions.
A fix can be users moving $HOME/.kb into $HOME/.local/share/kb or into the XDG_DATA_HOME directory.
At the moment this is of course only implemented within the git version but as soon as 0.1.7 will come out this will be the default.
from kb.
Yes you are right, my bad.
This the latest commit should fix this for good. Thanks to your suggestion and testing. Really, thanks a lot!
from kb.
Thanks for opening a new issue. The team has been notified and will review it as soon as possible.
For urgent issues and priority support, visit https://xscode.com/gnebbia/kb
from kb.
Thank you very much! I am excited to see this change in the new release :)
from kb.
@gnebbia I checked some of the changes, and I just wanted to be sure of something :P
Could it be that the following code matches your description a bit more:
BASE_PATH = Path(os.environ.get("XDG_DATA_HOME",Path(Path.home(),".local","share")),"kb")
It looks like that with the current changes, if XDG_DATA_HOME
is defined, then PATH_KB
would be set to $XDG_DATA_HOME
and PATH_KB_GIT
would be set to $XDG_DATA_HOME/.git
, rather than $XDG_DATA_HOME/kb
and $XDG_DATA_HOME/kb/.git
, respectively
from kb.
Related Issues (20)
- Update man HOT 2
- how to modify existing artifact's tags, category, add comment. How to chage storage location? HOT 3
- kb completion for Fish shell created HOT 1
- Fish completion printing error HOT 1
- Arch not launching avec update HOT 1
- Reinstall nuked my existing KBs!!! HOT 3
- Install not working with pipx, colored.exception.InvalidStyle error HOT 3
- KeyError: 'underline' HOT 2
- Render Markdown articles HOT 2
- Cannot view/ open files HOT 2
- Fails to start HOT 3
- future plans? HOT 1
- Android app HOT 3
- Upgrade to 0.1.6 did not upgrade typing_extensions or warn about compatibility issues HOT 3
- Asking for confirmation before deleting the artifact HOT 4
- [request] Interactive mode with FZF integration would be sweet HOT 4
- [request] merge db option HOT 3
- Suggestion: Adding autocomplete HOT 1
- Please create a new release which includes the newest code HOT 1
- AttributeError: module 'attr' has no attribute 's' HOT 7
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 kb.