Comments (3)
Personally, I think shell history is important enough to be kept in the DATA dir.
There's several projects with thousands of stars that save more info about your history, adds an easier search mechanism, syncs it between machines, etc., so I think I'm not alone on this.
I'd say we stick with it for zsh, and change it to DATA for bash. Let me know your opinion, since I don't want to base this on just on my own opinion.
It's a tough call. XDG_STATE_HOME was only recently introduced, with the first proposal being in December of 2016 and implementation into the specification in May of 2021.
I believe the rule of thumb is that state is machine-specific, while data is cross-machine. Since shell history is most commonly used to build completion rules/suggestions, you wouldn't want it transferred to other machines with a different context, or worse, leak sensitive data.
I am going to propose standardizing on STATE, since it appears to be the current specifications standard for history files, and seems to follow with the initial proposal.
Looking forward to any other thoughts or opinions before settling one way or another. :)
from xdg-ninja.
Personally, I think shell history is important enough to be kept in the DATA dir.
There's several projects with thousands of stars that save more info about your history, adds an easier search mechanism, syncs it between machines, etc., so I think I'm not alone on this.
I'd say we stick with it for zsh, and change it to DATA for bash. Let me know your opinion, since I don't want to base this on just on my own opinion.
from xdg-ninja.
Convinced me. If someone cares enough about their history files, they probably know what to do anyway.
Feel free to submit a PR to change this for bash and zsh, otherwise I'll do it myself tomorrow.
from xdg-ninja.
Related Issues (20)
- 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
- AWS report is incorrect
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.