2023-11-20 01:27:09 +00:00
|
|
|
{pkgs, ...}: {
|
2023-11-13 18:37:16 +00:00
|
|
|
programs.fish = {
|
|
|
|
enable = true;
|
|
|
|
interactiveShellInit = ''
|
|
|
|
set -g fish_greeting
|
2023-11-20 01:27:09 +00:00
|
|
|
|
|
|
|
fish_vi_key_bindings
|
|
|
|
set -g fish_cursor_insert line
|
2023-12-30 02:30:08 +00:00
|
|
|
|
|
|
|
if not set -q TMUX
|
|
|
|
tmux attach
|
|
|
|
end
|
2023-11-13 18:37:16 +00:00
|
|
|
'';
|
2024-01-18 22:53:39 +00:00
|
|
|
shellAliases = {
|
|
|
|
xilinx-env = "nix develop --no-write-lock-file github:nix-community/nix-environments#xilinx-vitis";
|
|
|
|
};
|
2023-11-20 01:27:09 +00:00
|
|
|
plugins = [
|
|
|
|
{
|
|
|
|
name = "z";
|
|
|
|
src = pkgs.fetchFromGitHub {
|
|
|
|
owner = "jethrokuan";
|
|
|
|
repo = "z";
|
|
|
|
rev = "85f863f20f24faf675827fb00f3a4e15c7838d76";
|
|
|
|
sha256 = "+FUBM7CodtZrYKqU542fQD+ZDGrd2438trKM0tIESs0=";
|
|
|
|
};
|
|
|
|
}
|
|
|
|
];
|
2023-11-13 18:37:16 +00:00
|
|
|
};
|
|
|
|
}
|