[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 = {
|
home = {
|
||||||
packages = with pkgs; [
|
packages = with pkgs; [
|
||||||
font-awesome
|
font-awesome
|
||||||
|
fzf
|
||||||
];
|
];
|
||||||
|
|
||||||
file = {
|
file = {
|
||||||
|
@ -25,6 +26,12 @@
|
||||||
};
|
};
|
||||||
initExtra = ''
|
initExtra = ''
|
||||||
eval "$(direnv hook zsh)"
|
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 = {
|
oh-my-zsh = {
|
||||||
enable = true;
|
enable = true;
|
||||||
|
|
Loading…
Reference in a new issue