✨ feat: fish GPG & fzf
This commit is contained in:
parent
d04b384775
commit
2b8521de0c
2 changed files with 13 additions and 1 deletions
|
@ -1,3 +1,6 @@
|
||||||
#!/usr/bin/env fish
|
#!/usr/bin/env fish
|
||||||
|
|
||||||
set -gx GPG_TTY (tty)
|
if test command -v gpgconf &>/dev/null
|
||||||
|
set -gx GPG_TTY (tty)
|
||||||
|
gpgconf --launch gpg-agent
|
||||||
|
end
|
||||||
|
|
9
.config/fish/functions/fzf.fish
Normal file
9
.config/fish/functions/fzf.fish
Normal file
|
@ -0,0 +1,9 @@
|
||||||
|
#!/usr/bin/env fish
|
||||||
|
|
||||||
|
function fzf --wraps=fzf
|
||||||
|
if test "$TERM_PROGRAM" = tmux
|
||||||
|
fzf-tmux -p 90%,95% $argv
|
||||||
|
else
|
||||||
|
fzf $argv
|
||||||
|
end
|
||||||
|
end
|
Loading…
Reference in a new issue