瀏覽代碼

Add fzf to fish config #fishshell

Colin Powell 6 年之前
父節點
當前提交
e111812051

+ 2 - 0
bash/.bashrc

@@ -156,3 +156,5 @@ el8clogs() { pushd ~/devel/elationemr/hippo && docker-compose logs --tail 20 -f
 alias evpn="sudo openvpn --config ~/Nextcloud/elation.ovpn"
 alias pvpn="sudo openvpn --config ~/Nextcloud/protonvpn.ovpn"
 
+
+[ -f ~/.fzf.bash ] && source ~/.fzf.bash

+ 1 - 0
fish/.config/fish/conf.d/fisher.fish

@@ -0,0 +1 @@
+fisher copy-user-key-bindings

+ 1 - 0
fish/.config/fish/fishd.iapetus

@@ -39,3 +39,4 @@ SET fish_pager_color_completion:\x1d
 SET fish_pager_color_description:B3A06D\x1eyellow
 SET fish_pager_color_prefix:white\x1e\x2d\x2dbold\x1e\x2d\x2dunderline
 SET fish_pager_color_progress:brwhite\x1e\x2d\x2dbackground\x3dcyan
+SET fish_user_paths:/home/powellc/\x2easdf/shims\x1e/home/powellc/\x2efzf/bin

+ 3 - 0
fish/.config/fish/functions/fish_user_key_bindings.fish

@@ -0,0 +1,3 @@
+function fish_user_key_bindings
+  fzf_key_bindings
+end

+ 1 - 0
fish/.config/fish/functions/fzf_key_bindings.fish

@@ -0,0 +1 @@
+/home/powellc/.fzf/shell/key-bindings.fish