[fish]
Giving fish another try
change wksrwtywywvxwxnnywpsvzonzpotzoyo
commit 2ded644969fd851233446bf6cbe486f2313a6a26
author Alpha Chen <alpha@kejadlen.dev>
date
parent rztvstqm
diff --git a/.config/fish/completions/docker.fish b/.config/fish/completions/docker.fish
new file mode 120000
index 00000000..02df43fa
--- /dev/null
+++ b/.config/fish/completions/docker.fish
@@ -0,0 +1 @@
+/Applications/OrbStack.app/Contents/MacOS/../Resources/completions/docker.fish
\ No newline at end of file
diff --git a/.config/fish/completions/kubectl.fish b/.config/fish/completions/kubectl.fish
new file mode 120000
index 00000000..e2b5b9e0
--- /dev/null
+++ b/.config/fish/completions/kubectl.fish
@@ -0,0 +1 @@
+/Applications/OrbStack.app/Contents/MacOS/../Resources/completions/kubectl.fish
\ No newline at end of file
diff --git a/.config/fish/config.fish b/.config/fish/config.fish
index a81f4499..8cf94597 100644
--- a/.config/fish/config.fish
+++ b/.config/fish/config.fish
@@ -1,4 +1,9 @@
 if status is-interactive
+    # disable default greeting
+    set -g fish_greeting
+
+    bind tab complete-and-search
+
     starship init fish | source
+    fzf --fish | source
 end
-
diff --git a/.config/fish/fish_variables b/.config/fish/fish_variables
index 78738c15..9ebc5ba5 100644
--- a/.config/fish/fish_variables
+++ b/.config/fish/fish_variables
@@ -1,6 +1,6 @@
 # This file contains fish universal variable definitions.
 # VERSION: 3.0
-SETUVAR __fish_initialized:3400
+SETUVAR __fish_initialized:3800
 SETUVAR fish_color_autosuggestion:555\x1ebrblack
 SETUVAR fish_color_cancel:\x2dr
 SETUVAR fish_color_command:blue
@@ -18,7 +18,7 @@ SETUVAR fish_color_operator:brcyan
 SETUVAR fish_color_param:cyan
 SETUVAR fish_color_quote:yellow
 SETUVAR fish_color_redirection:cyan\x1e\x2d\x2dbold
-SETUVAR fish_color_search_match:bryellow\x1e\x2d\x2dbackground\x3dbrblack
+SETUVAR fish_color_search_match:white\x1e\x2d\x2dbackground\x3dbrblack
 SETUVAR fish_color_selection:white\x1e\x2d\x2dbold\x1e\x2d\x2dbackground\x3dbrblack
 SETUVAR fish_color_status:red
 SETUVAR fish_color_user:brgreen
diff --git a/.config/starship.toml b/.config/starship.toml
index 2e727c82..2cc4108a 100644
--- a/.config/starship.toml
+++ b/.config/starship.toml
@@ -1,3 +1,5 @@
+"$schema" = "https://starship.rs/config-schema.json"
+
 command_timeout = 1000
 
 format = """
diff --git a/.config/starship/no-git.toml b/.config/starship/no-git.toml
new file mode 100644
index 00000000..a21b3893
--- /dev/null
+++ b/.config/starship/no-git.toml
@@ -0,0 +1,28 @@
+"$schema" = "https://starship.rs/config-schema.json"
+
+command_timeout = 1000
+
+format = """
+$username\
+$hostname\
+$directory\
+$cmd_duration\
+$line_break\
+$python\
+$character"""
+
+[directory]
+style = "blue"
+
+[character]
+success_symbol = "[❯](purple)"
+error_symbol = "[❯](red)"
+vimcmd_symbol = "[❮](green)"
+
+[cmd_duration]
+format = "[$duration]($style) "
+style = "yellow"
+
+[python]
+format = "[$virtualenv]($style) "
+style = "#888888" # was bright-black
diff --git a/.gitignore b/.gitignore
index 43b79c3c..756133d4 100644
--- a/.gitignore
+++ b/.gitignore
@@ -11,6 +11,7 @@ private
 !.config/alacritty
 !.config/bat
 !.config/direnv
+!.config/fish
 !.config/git
 !.config/ghostty
 !.config/irb
@@ -21,6 +22,7 @@ private
 !.config/pip
 !.config/ripgrep
 !.config/sketchybar
+!.config/starship
 !.config/starship.toml
 !.config/tridactyl
 !.config/wezterm