nix-config/users/tacocat/shell/fish.nix

30 lines
663 B
Nix
Raw Normal View History

2023-11-20 01:27:09 +00:00
{pkgs, ...}: {
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
'';
2024-01-18 22:53:39 +00:00
shellAliases = {
2024-01-24 17:09:39 +00:00
xilinx-env = "distrobox enter --additional-flags '--env _JAVA_AWT_WM_NONREPARENTING=1' arch";
2024-01-18 22:53:39 +00:00
};
2023-11-20 01:27:09 +00:00
plugins = [
{
name = "z";
src = pkgs.fetchFromGitHub {
owner = "jethrokuan";
repo = "z";
rev = "85f863f20f24faf675827fb00f3a4e15c7838d76";
sha256 = "+FUBM7CodtZrYKqU542fQD+ZDGrd2438trKM0tIESs0=";
};
}
];
};
}