1
0
Fork 0
mirror of https://github.com/ryanccn/flake.git synced 2025-12-10 17:30:44 +01:00
flake/users/ryan/programs/fish/configs/99_interactive.fish
2025-09-27 17:59:32 +08:00

23 lines
770 B
Fish

# SPDX-FileCopyrightText: 2025 Ryan Cao <hello@ryanccn.dev>
#
# SPDX-License-Identifier: Apache-2.0
if status is-interactive
if test -d "$(brew --prefix)/share/fish/completions"
set -p fish_complete_path "$(brew --prefix)/share/fish/completions"
end
if test -d "$(brew --prefix)/share/fish/vendor_completions.d"
set -p fish_complete_path "$(brew --prefix)/share/fish/vendor_completions.d"
end
if command -q nrr
source "$(COMPLETE=fish nrr | psub)"
end
if command -q nrx
source "$(COMPLETE=fish nrx | psub)"
end
if test "$TERM_PROGRAM" = "ghostty" && set -q GHOSTTY_RESOURCES_DIR
source "$GHOSTTY_RESOURCES_DIR/shell-integration/fish/vendor_conf.d/ghostty-shell-integration.fish"
end
end