summaryrefslogtreecommitdiff
path: root/users/seth/shell
diff options
context:
space:
mode:
Diffstat (limited to 'users/seth/shell')
-rw-r--r--users/seth/shell/bash.nix2
-rw-r--r--users/seth/shell/default.nix2
-rw-r--r--users/seth/shell/fish.nix19
-rw-r--r--users/seth/shell/zsh.nix7
4 files changed, 16 insertions, 14 deletions
diff --git a/users/seth/shell/bash.nix b/users/seth/shell/bash.nix
index 03f4985..f086ec4 100644
--- a/users/seth/shell/bash.nix
+++ b/users/seth/shell/bash.nix
@@ -1,4 +1,4 @@
-{ config, ... }: {
+{config, ...}: {
programs.bash = {
enable = true;
historyFile = "${config.xdg.stateHome}/bash/history";
diff --git a/users/seth/shell/default.nix b/users/seth/shell/default.nix
index 263bd22..3872731 100644
--- a/users/seth/shell/default.nix
+++ b/users/seth/shell/default.nix
@@ -1,4 +1,4 @@
-{ config, ... }: {
+{config, ...}: {
imports = [
./bash.nix
./fish.nix
diff --git a/users/seth/shell/fish.nix b/users/seth/shell/fish.nix
index a0a3046..b017f03 100644
--- a/users/seth/shell/fish.nix
+++ b/users/seth/shell/fish.nix
@@ -1,22 +1,23 @@
-{ pkgs, ... }: {
-
+{pkgs, ...}: {
xdg.configFile."fish/themes" = {
recursive = true;
source =
pkgs.fetchFromGitHub
- {
- owner = "catppuccin";
- repo = "fish";
- rev = "b90966686068b5ebc9f80e5b90fdf8c02ee7a0ba";
- sha256 = "sha256-wQlYQyqklU/79K2OXRZXg5LvuIugK7vhHgpahpLFaOw=";
- } + "/themes";
+ {
+ owner = "catppuccin";
+ repo = "fish";
+ rev = "b90966686068b5ebc9f80e5b90fdf8c02ee7a0ba";
+ sha256 = "sha256-wQlYQyqklU/79K2OXRZXg5LvuIugK7vhHgpahpLFaOw=";
+ }
+ + "/themes";
};
programs.fish = {
enable = true;
interactiveShellInit = ''
fish_config theme choose "Catppuccin Mocha"
- '';
+ direnv hook fish | source
+ '';
plugins = [
{
name = "autopair-fish";
diff --git a/users/seth/shell/zsh.nix b/users/seth/shell/zsh.nix
index dd2b58c..c6b7ee1 100644
--- a/users/seth/shell/zsh.nix
+++ b/users/seth/shell/zsh.nix
@@ -1,6 +1,7 @@
-{ config
-, pkgs
-, ...
+{
+ config,
+ pkgs,
+ ...
}: {
programs.zsh = {
enable = false;