aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.config/fish/conf.d/init-fzf.fish9
-rw-r--r--.config/fish/config.fish6
-rw-r--r--.config/fish/functions/init_fzf.fish11
3 files changed, 13 insertions, 13 deletions
diff --git a/.config/fish/conf.d/init-fzf.fish b/.config/fish/conf.d/init-fzf.fish
new file mode 100644
index 0000000..d1c2d33
--- /dev/null
+++ b/.config/fish/conf.d/init-fzf.fish
@@ -0,0 +1,9 @@
+command -v fzf > /dev/null || exit 0
+
+if is_mac;
+ source $(brew --prefix fzf)/shell/key-bindings.fish
+end
+
+function fish_user_key_bindings
+ fzf_key_bindings
+end
diff --git a/.config/fish/config.fish b/.config/fish/config.fish
index 14c8150..6a16e19 100644
--- a/.config/fish/config.fish
+++ b/.config/fish/config.fish
@@ -1,8 +1,10 @@
if status is-interactive
- set -U fish_greeting
+ set -g fish_greeting
+ set -g __fish_git_prompt_showdirtystate 1
+ set -g __fish_git_prompt_showuntrackedfiles 1
+ set -g __fish_git_prompt_showcolorhints 1
command -v zoxide > /dev/null && zoxide init --cmd j fish | source
command -v navi > /dev/null && eval "$(navi widget fish)"
- init_fzf
if command -v nnn > /dev/null;
set -l function_file "$HOME/.config/fish/functions/n.fish"
diff --git a/.config/fish/functions/init_fzf.fish b/.config/fish/functions/init_fzf.fish
deleted file mode 100644
index b1fab2a..0000000
--- a/.config/fish/functions/init_fzf.fish
+++ /dev/null
@@ -1,11 +0,0 @@
-function init_fzf
- command -v fzf > /dev/null || exit 0
-
- if is_mac;
- source $(brew --prefix fzf)/shell/key-bindings.fish
- end
-
- function fish_user_key_bindings
- fzf_key_bindings
- end
-end