summaryrefslogtreecommitdiff
path: root/users/seth/shell.nix
diff options
context:
space:
mode:
Diffstat (limited to 'users/seth/shell.nix')
-rw-r--r--users/seth/shell.nix18
1 files changed, 18 insertions, 0 deletions
diff --git a/users/seth/shell.nix b/users/seth/shell.nix
new file mode 100644
index 0000000..6c5537c
--- /dev/null
+++ b/users/seth/shell.nix
@@ -0,0 +1,18 @@
+{ config, ... }:
+
+{
+ home = {
+ sessionVariables = {
+ EDITOR = "nvim";
+ VISUAL = config.home.sessionVariables.EDITOR;
+ CARGO_HOME = "${config.xdg.dataHome}/cargo";
+ LESSHISTFILE = "${config.xdg.stateHome}/less/history";
+ };
+
+ shellAliases = {
+ diff = "diff --color=auto";
+ g = "git";
+ gs = "g status";
+ };
+ };
+}