summaryrefslogtreecommitdiff
path: root/users/seth/shell/default.nix
blob: 748a2e937532669d56e006cac637f74c7c87a4cd (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
{config, ...}: {
	imports = [
		./bash.nix
		./fish.nix
		./zsh
	];

	home.sessionVariables = {
		EDITOR = "nvim";
		VISUAL = "nvim";
		CARGO_HOME = "${config.xdg.dataHome}/cargo";
		RUSTUP_HOME = "${config.xdg.dataHome}/rustup";
		LESSHISTFILE = "${config.xdg.stateHome}/less/history";
		NPM_CONFIG_USERCONFIG = "${config.xdg.configHome}/npm/npmrc";
	};

	home.shellAliases = {
		ls = "exa --icons";
		diff = "diff --color=auto";
	};
}