[zsh] Add fzf
This commit is contained in:
parent
aad57e583b
commit
53fec1cca5
1 changed files with 7 additions and 0 deletions
|
@ -8,6 +8,7 @@
|
|||
home = {
|
||||
packages = with pkgs; [
|
||||
font-awesome
|
||||
fzf
|
||||
];
|
||||
|
||||
file = {
|
||||
|
@ -25,6 +26,12 @@
|
|||
};
|
||||
initExtra = ''
|
||||
eval "$(direnv hook zsh)"
|
||||
|
||||
# Add fzf
|
||||
if [ -x "$(command -v fzf-share)" ]; then
|
||||
source "$(fzf-share)/key-bindings.zsh"
|
||||
source "$(fzf-share)/completion.zsh"
|
||||
fi
|
||||
'';
|
||||
oh-my-zsh = {
|
||||
enable = true;
|
||||
|
|
Loading…
Reference in a new issue