feat: enhance fish shell key bindings with fzf integration ✨
This commit is contained in:
parent
2bbb366d7b
commit
f561dfb926
1 changed files with 8 additions and 1 deletions
|
|
@ -13,7 +13,14 @@
|
||||||
nixupdate = "cd ~/dotfiles/nixos && sudo nix flake update && sudo darwin-rebuild switch --flake ~/dotfiles/nixos#Daniel-Macbook-Air";
|
nixupdate = "cd ~/dotfiles/nixos && sudo nix flake update && sudo darwin-rebuild switch --flake ~/dotfiles/nixos#Daniel-Macbook-Air";
|
||||||
};
|
};
|
||||||
interactiveShellInit = ''
|
interactiveShellInit = ''
|
||||||
fish_vi_key_bindings
|
function fish_user_key_bindings
|
||||||
|
fish_vi_key_bindings
|
||||||
|
if command -s fzf-share >/dev/null
|
||||||
|
source (fzf-share)/key-bindings.fish
|
||||||
|
fzf_key_bindings
|
||||||
|
end
|
||||||
|
end
|
||||||
|
|
||||||
set fish_greeting 🐟: (set_color yellow; date +%T; set_color green; date --iso-8601 2>/dev/null; or date +%F; set_color normal)
|
set fish_greeting 🐟: (set_color yellow; date +%T; set_color green; date --iso-8601 2>/dev/null; or date +%F; set_color normal)
|
||||||
|
|
||||||
# name: Default
|
# name: Default
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue