1
0
Fork 0
mirror of https://github.com/ryanccn/flake.git synced 2025-12-06 08:10:43 +01:00

feat: miscellaneous updates

This commit is contained in:
Ryan Cao 2025-05-30 20:44:04 +08:00
parent 42a1293f6d
commit e495878b0e
Signed by: ryanccn
GPG key ID: F605AB4AF937D5D0
12 changed files with 119 additions and 82 deletions

View file

@ -5,14 +5,21 @@
if status is-interactive
nix-your-shell fish | source
if command -q nrr
source "$(COMPLETE=fish nrr | psub)"
if command -q nrx
source "$(COMPLETE=fish nrx | psub)"
end
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 set -q GHOSTTY_RESOURCES_DIR
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