nixos-config/home-manager/shell/default.nix

30 lines
465 B
Nix

{ pkgs, ... }:
{
imports = [
./alacritty.nix
./starship.nix
];
# Fish shell
programs.fish.enable = true;
# Disable greeting
programs.fish.interactiveShellInit =
"set -g fish_greeting";
# Eza - ls replacement
programs.eza.enable = true;
programs.fish.shellAliases = {
l = "ls -la";
};
# rlwrap config
programs.fish.shellInit = ''
set -xg RLWRAP_HOME $XDG_DATA_HOME/rlwrap
'';
home.packages = [ pkgs.rlwrap ];
}