mirror of
https://github.com/Gerg-L/nixos.git
synced 2025-12-10 00:43:56 -05:00
add zfz-tab
This commit is contained in:
parent
408e59bf4a
commit
4fd4b0ad74
1 changed files with 11 additions and 1 deletions
|
|
@ -13,6 +13,7 @@
|
||||||
(pkgs)
|
(pkgs)
|
||||||
page
|
page
|
||||||
eza
|
eza
|
||||||
|
fzf
|
||||||
;
|
;
|
||||||
inherit
|
inherit
|
||||||
(fetch-rs.packages.${pkgs.system})
|
(fetch-rs.packages.${pkgs.system})
|
||||||
|
|
@ -71,7 +72,16 @@
|
||||||
syntaxHighlighting.enable = true;
|
syntaxHighlighting.enable = true;
|
||||||
histSize = 10000;
|
histSize = 10000;
|
||||||
histFile = "$HOME/.cache/zsh_history";
|
histFile = "$HOME/.cache/zsh_history";
|
||||||
interactiveShellInit = ''
|
interactiveShellInit = let
|
||||||
|
fzf-tab = pkgs.fetchFromGitHub {
|
||||||
|
owner = "Aloxaf";
|
||||||
|
repo = "fzf-tab";
|
||||||
|
rev = "c2b4aa5ad2532cca91f23908ac7f00efb7ff09c9";
|
||||||
|
hash = "sha256-gvZp8P3quOtcy1Xtt1LAW1cfZ/zCtnAmnWqcwrKel6w=";
|
||||||
|
};
|
||||||
|
in ''
|
||||||
|
### fzf-tab ###
|
||||||
|
source ${fzf-tab}/fzf-tab.plugin.zsh
|
||||||
### pager ###
|
### pager ###
|
||||||
man () {
|
man () {
|
||||||
PROGRAM="''${@[-1]}"
|
PROGRAM="''${@[-1]}"
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue