integrate tmux further
This commit is contained in:
parent
35f7b81ec7
commit
83fdeb0016
2 changed files with 9 additions and 9 deletions
|
@ -42,4 +42,5 @@
|
||||||
tmuxPlugins.yank
|
tmuxPlugins.yank
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
|
programs.fzf.tmux.enableShellIntegration = true;
|
||||||
}
|
}
|
||||||
|
|
|
@ -6,18 +6,17 @@
|
||||||
interactiveShellInit = ''
|
interactiveShellInit = ''
|
||||||
set fish_greeting # Disable greeting
|
set fish_greeting # Disable greeting
|
||||||
fish_vi_key_bindings # Enable Vi mode
|
fish_vi_key_bindings # Enable Vi mode
|
||||||
fish_config theme choose "Catppuccin Frappe"
|
|
||||||
|
function fzf --wraps=fzf --description="Use fzf-tmux if in tmux session"
|
||||||
|
if set --query TMUX
|
||||||
|
fzf-tmux $argv
|
||||||
|
else
|
||||||
|
command fzf $argv
|
||||||
|
end
|
||||||
|
end
|
||||||
'';
|
'';
|
||||||
shellAbbrs = { cd = "z"; ngc = "sudo nix-collect-garbage -d"; };
|
shellAbbrs = { cd = "z"; ngc = "sudo nix-collect-garbage -d"; };
|
||||||
plugins = [ { name = "fzf"; src = pkgs.fishPlugins.fzf.src; } ];
|
plugins = [ { name = "fzf"; src = pkgs.fishPlugins.fzf.src; } ];
|
||||||
};
|
};
|
||||||
# Fetch the Catppuccin theme
|
|
||||||
xdg.configFile."fish/themes/Catppuccin Frappe.theme".source = pkgs.fetchFromGitHub {
|
|
||||||
owner = "catppuccin";
|
|
||||||
repo = "fish";
|
|
||||||
rev = "a3b9eb5eaf2171ba1359fe98f20d226c016568cf";
|
|
||||||
sha256 = "sha256-shQxlyoauXJACoZWtRUbRMxmm10R8vOigXwjxBhG8ng=";
|
|
||||||
} + "/themes/Catppuccin Frappe.theme";
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue