summaryrefslogtreecommitdiff
path: root/users/seth/shell
diff options
context:
space:
mode:
authorseth <[email protected]>2023-01-23 15:44:04 -0500
committerseth <[email protected]>2023-01-23 16:06:56 -0500
commit79b1d22cc9eb3752ae798d5ca9e6eeefeb86799e (patch)
tree4efdc7145ab3d13632ff956b8a6aa187bcbd568e /users/seth/shell
parent9075aa13405b4d390bfe50cde83938c9a3af0fa8 (diff)
chore: general cleanup + use `with` less
Diffstat (limited to 'users/seth/shell')
-rw-r--r--users/seth/shell/bash.nix7
-rw-r--r--users/seth/shell/default.nix1
2 files changed, 1 insertions, 7 deletions
diff --git a/users/seth/shell/bash.nix b/users/seth/shell/bash.nix
index c66e6a0..18167a4 100644
--- a/users/seth/shell/bash.nix
+++ b/users/seth/shell/bash.nix
@@ -5,13 +5,6 @@
}: {
programs.bash = {
enable = true;
- bashrcExtra = ''
- # drop into fish
- if [[ $(ps --no-header --pid=$PPID --format=comm) != "fish" && -z $BASH_EXECUTION_STRING ]]
- then
- exec fish
- fi
- '';
historyFile = "${config.xdg.stateHome}/bash/history";
historyFileSize = 1000;
historySize = 100;
diff --git a/users/seth/shell/default.nix b/users/seth/shell/default.nix
index 088feec..993835b 100644
--- a/users/seth/shell/default.nix
+++ b/users/seth/shell/default.nix
@@ -20,5 +20,6 @@
home.shellAliases = {
ls = "exa --icons";
+ diff = "diff --color=auto";
};
}