docs: add macOS #540

Merged
witten merged 1 commits from adidalal/borgmatic:master into master 2022-06-01 17:37:53 +00:00
Contributor
  • Adds macOS package info
  • Adds macOS completion info

Also, for local completion installation, the FAQ seems to point to ~/.bash_completion as another possible location. Any preferences?

Put them in the completions subdir of $BASH_COMPLETION_USER_DIR (defaults to $XDG_DATA_HOME/bash-completion or ~/.local/share/bash-completion if $XDG_DATA_HOME is not set) to have them loaded automatically on demand when the respective command is being completed. See also the next question's answer for considerations for these files' names, they apply here as well. Alternatively, you can write them directly in ~/.bash_completion which is loaded eagerly by our main script.

* Adds macOS package info * Adds macOS completion info Also, for local completion installation, the [FAQ](https://github.com/scop/bash-completion/blob/master/README.md) seems to point to `~/.bash_completion` as another possible location. Any preferences? > Put them in the completions subdir of $BASH_COMPLETION_USER_DIR (defaults to $XDG_DATA_HOME/bash-completion or ~/.local/share/bash-completion if $XDG_DATA_HOME is not set) to have them loaded automatically on demand when the respective command is being completed. See also the next question's answer for considerations for these files' names, they apply here as well. Alternatively, you can write them directly in ~/.bash_completion which is loaded eagerly by our main script.
adidalal added 1 commit 2022-06-01 16:00:26 +00:00
Owner

Thanks for taking the time to do this! I have a slight preference for the existing ~/.local/share/bash-completion only because, as I understand it, it's not loaded eagerly. That way, it only gets loaded if a user actually uses borgmatic.

Given that pkg-config isn't always present on Linux, I think I'll add a note about that to the docs. But I'll merge this first. Thanks again!

Thanks for taking the time to do this! I have a slight preference for the existing `~/.local/share/bash-completion` only because, as I understand it, it's not loaded eagerly. That way, it only gets loaded if a user actually uses borgmatic. Given that `pkg-config` isn't always present on Linux, I think I'll add a note about that to the docs. But I'll merge this first. Thanks again!
witten merged commit ce78b07e4b into master 2022-06-01 17:37:53 +00:00
Sign in to join this conversation.
No reviewers
No Milestone
No Assignees
2 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: borgmatic-collective/borgmatic#540
No description provided.