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:
parent
42a1293f6d
commit
e495878b0e
12 changed files with 119 additions and 82 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue