Skip to content
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

Commits on Oct 28, 2023

  1. Configuration menu
    Copy the full SHA
    1d017d6 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    d260238 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    1a665a8 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    5e2cbb6 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    ebd745e View commit details
    Browse the repository at this point in the history
  6. Organize sheldon directories

    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
    machupicchubeta committed Oct 28, 2023
    Configuration menu
    Copy the full SHA
    201194a View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    0fddc44 View commit details
    Browse the repository at this point in the history
  8. Specify XDG Base Directory in the environment variables "STARSHIP_CAC…

    …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
    machupicchubeta committed Oct 28, 2023
    Configuration menu
    Copy the full SHA
    ea80ca2 View commit details
    Browse the repository at this point in the history

Commits on Oct 29, 2023

  1. Stop using Oh My Zsh Docker plugin via sheldon

    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
    ```
    machupicchubeta committed Oct 29, 2023
    Configuration menu
    Copy the full SHA
    b7d4503 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    66c4150 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    9d02631 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    bdb7294 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    701cb08 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    69bbec4 View commit details
    Browse the repository at this point in the history
  7. Move GOENV_ROOT and GOENV_GOPATH_PREFIX under XDG Base Directory

    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 committed Oct 29, 2023
    Configuration menu
    Copy the full SHA
    6566275 View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    e88ae89 View commit details
    Browse the repository at this point in the history
  9. Configuration menu
    Copy the full SHA
    7565785 View commit details
    Browse the repository at this point in the history