Skip to content
This repository was archived by the owner on Jun 16, 2024. It is now read-only.

Commit 293cade

Browse files
refactor(fish/functions/glfzf): set shell to dish
1 parent a81499a commit 293cade

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

home/programs/terminal/fish/functions.nix

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -87,6 +87,7 @@
8787
end
8888
8989
function glfzf -d "use fzf to preview git commits"
90+
set SHELL fish
9091
git log --graph --color=always --format="%C(auto)%h%d %s %C(black)%C(bold)%cr" $argv | \
9192
fzf --ansi --no-sort --reverse --tiebreak=index --scroll-off=5 --preview-window=right:60% \
9293
--preview 'function preview; set commit (echo $argv | grep -o "[a-f0-9]\{7\}"); git show -m --color=always $commit | delta --width=(tput cols); end; preview {}' \

0 commit comments

Comments
 (0)