mirror of
https://github.com/arthur-pbty/arthur-os.git
synced 2026-08-01 20:28:16 +02:00
* Add omarchy CLI * Remove outdated or internal * Add bash completions for command * Add omarchy command documentation * Add missing docs * Correct to what's now right * Fix tests --------- Co-authored-by: David Heinemeier Hansson <david@hey.com>
31 lines
705 B
Plaintext
31 lines
705 B
Plaintext
if command -v mise &> /dev/null; then
|
|
eval "$(mise activate bash)"
|
|
fi
|
|
|
|
if [[ $- == *i* ]] && [[ ${TERM:-} != "dumb" ]] && command -v starship &> /dev/null; then
|
|
eval "$(starship init bash)"
|
|
fi
|
|
|
|
if command -v zoxide &> /dev/null; then
|
|
eval "$(zoxide init bash)"
|
|
fi
|
|
|
|
if command -v try &> /dev/null; then
|
|
try() {
|
|
unset -f try
|
|
eval "$(SHELL=/bin/bash command try init ~/Work/tries)"
|
|
try "$@"
|
|
}
|
|
fi
|
|
|
|
if command -v fzf &> /dev/null; then
|
|
if [[ -f /usr/share/fzf/completion.bash ]]; then
|
|
source /usr/share/fzf/completion.bash
|
|
fi
|
|
if [[ -f /usr/share/fzf/key-bindings.bash ]]; then
|
|
source /usr/share/fzf/key-bindings.bash
|
|
fi
|
|
fi
|
|
|
|
source "$OMARCHY_PATH/default/bash/completions"
|