diff options
author | lassulus <lassulus@lassul.us> | 2018-01-18 23:53:33 +0100 |
---|---|---|
committer | lassulus <lassulus@lassul.us> | 2018-01-18 23:54:26 +0100 |
commit | 26db462bb278d01d42f052e8c3207cd515dee98e (patch) | |
tree | aac55da5d1b5af98903fa806a0cedec844007b4f /lass/2configs | |
parent | 4e9870e45a9e11f5008ee6c6abf260a96cfb21c0 (diff) |
l zsh: add fzf
Diffstat (limited to 'lass/2configs')
-rw-r--r-- | lass/2configs/zsh.nix | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/lass/2configs/zsh.nix b/lass/2configs/zsh.nix index 728c0cc0d..7b0ef79f3 100644 --- a/lass/2configs/zsh.nix +++ b/lass/2configs/zsh.nix @@ -1,5 +1,6 @@ { config, lib, pkgs, ... }: { + environment.systemPackages = [ pkgs.fzf ]; programs.zsh = { enable = true; shellInit = '' @@ -37,6 +38,10 @@ zle -N edit-command-line bindkey "^X^E" edit-command-line + #fzf inclusion + source ${pkgs.fzf}/share/fzf/completion.zsh + source ${pkgs.fzf}/share/fzf/key-bindings.zsh + #completion magic autoload -Uz compinit compinit @@ -52,8 +57,6 @@ sha256="05lh5w3bgj9h8d8lrbbwbzw8788709cnzzkl8yh7m1dawkpf6nlp"; }}/LS_COLORS) - # export MANPAGER='sed -r "s/\x1B\[([0-9]{1,2}(;[0-9]{1,2})?)?[m|K]//g" | vim -R -c "set ft=man nonu nomod nolist" -' - #beautiful colors alias ls='ls --color' # zstyle ':completion:*:default' list-colors ''${(s.:.)LS_COLORS} |