-
Notifications
You must be signed in to change notification settings - Fork 1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Move apps config and/or data directory under XDG Base Directory #451
Merged
machupicchubeta
merged 17 commits into
main
from
move_apps_config_and_or_data_dir_under_xdg_base_directory
Oct 29, 2023
Merged
Move apps config and/or data directory under XDG Base Directory #451
machupicchubeta
merged 17 commits into
main
from
move_apps_config_and_or_data_dir_under_xdg_base_directory
Oct 29, 2023
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Refs. - https://raw.githubusercontent.com/tmux/tmux/3.1/CHANGES - tmux/tmux#142 - https://wiki.archlinux.org/title/XDG_Base_Directory#Supported - https://wiki.archlinux.jp/index.php/XDG_Base_Directory#.E3.82.B5.E3.83.9D.E3.83.BC.E3.83.88.E3.81.97.E3.81.A6.E3.81.84.E3.82.8B.E3.82.BD.E3.83.95.E3.83.88.E3.82.A6.E3.82.A7.E3.82.A2
See also: - rubygems/bundler#6024 - rubygems/bundler#4333 - rubygems/rubygems#1599 - https://wiki.archlinux.org/title/XDG_Base_Directory#Partial - https://wiki.archlinux.jp/index.php/XDG_Base_Directory#.E9.83.A8.E5.88.86.E7.9A.84.E3.81.AB.E3.82.B5.E3.83.9D.E3.83.BC.E3.83.88.E3.81.97.E3.81.A6.E3.81.84.E3.82.8B.E3.82.BD.E3.83.95.E3.83.88.E3.82.A6.E3.82.A7.E3.82.A2
Instead of putting directories for each architecture horizontally under the XDG Base Directory, put directories for each architecture under the sheldon directory. This will make the directories directly under the XDG Base Directory clearer. Refs. - https://github.com/rossmacarthur/sheldon/blob/6244a30069761d299a7135a0393b0c09b57f5fec/README.md#options
See also: - https://github.com/rbenv/rbenv/blob/d6bb1c63964304d9d3cdac783a65d66d56b35736/README.md#environment-variables - rbenv/rbenv#811 - rbenv/rbenv#1146 - https://wiki.archlinux.org/title/XDG_Base_Directory#Partial - https://wiki.archlinux.jp/index.php/XDG_Base_Directory#.E9.83.A8.E5.88.86.E7.9A.84.E3.81.AB.E3.82.B5.E3.83.9D.E3.83.BC.E3.83.88.E3.81.97.E3.81.A6.E3.81.84.E3.82.8B.E3.82.BD.E3.83.95.E3.83.88.E3.82.A6.E3.82.A7.E3.82.A2
…HE" explicitly See also: - https://starship.rs/config/#logging > By default starship logs warnings and errors into a file named `~/.cache/starship/session_${STARSHIP_SESSION_KEY}.log`, where the session key is corresponding to an instance of your terminal. - https://wiki.archlinux.org/title/XDG_Base_Directory#Partial
It seems that the use case of using only the Oh My Zsh plugin is not intended, and an error occurs when loading the plugin in sheldon. I changed the directory arrangement in `SHELDON_CONFIG_DIR` and `SHELDON_DATA_DIR`, and now the error occurs when loading the plugin. The error was: ``` /Users/machupicchubeta/.local/share/sheldon/zsh/repos/github.com/ohmyzsh/ohmyzsh/plugins/docker/docker.plugin.zsh:60: no such file or directory: /completions/_docker ```
Until now, I have used the famous Rubiest configuration file as it is, but I created a new one based on it. See also: - https://github.com/k0kubun/dotfiles/blob/38d8bb44e88b52719fa8d0c91131ae21d2201596/config/.irbrc - https://ruby-doc.org/3.2.2/stdlibs/irb/IRB.html - https://wiki.archlinux.org/title/XDG_Base_Directory#Partial
Refs. - https://rust-lang.github.io/rustup/environment-variables.html - https://doc.rust-lang.org/cargo/reference/environment-variables.html See also: - https://wiki.archlinux.org/title/XDG_Base_Directory#Partial - rust-lang/rustup#247 - rust-lang/cargo#1734 - rust-lang/rfcs#1615 - rust-lang/cargo#5183 - rust-lang/cargo#148
Refs. - https://github.com/go-nv/goenv/blob/56c9dec4e8184f16b4af886134b44b9eb2edf9b7/ENVIRONMENT_VARIABLES.md In addition, I added `GOENV_ROOT/shims` to the PATH environment variable to give preference to Go installed with goenv over Homebrew. For example, rbenv, nodenv, and pyenv add their respective `shims` directories to the top of the PATH environment variable, but goenv did not, and only Go installed with Homebrew was found.
machupicchubeta
deleted the
move_apps_config_and_or_data_dir_under_xdg_base_directory
branch
October 29, 2023 14:38
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
XDG Base Directory
RSpec
RubyGems
tmux
Bundler
sheldon
rbenv
Starship
IRB
Rustup, Cargo
z
nodenv
pyenv
~/.config/.pyenv
first pyenv/pyenv#139goenv
enhancd