zoxide/init.fish
2020-03-08 16:53:13 +02:00

15 lines
257 B
Fish

function zoxide-add --on-event fish_prompt
if command -q zoxide
zoxide add
end
end
if command -q zoxide
abbr -a zi "z -i"
abbr -a za "zoxide add"
abbr -a zq "zoxide query"
abbr -a zr "zoxide remove"
bind \ez 'z -i'
end