summaryrefslogtreecommitdiff
path: root/users/seth/shell/bash.nix
diff options
context:
space:
mode:
authorseth <[email protected]>2023-02-20 01:53:23 -0500
committerseth <[email protected]>2023-02-20 01:53:23 -0500
commit0957b051ef4befd86ce97deef04f5095bea9543b (patch)
treea669111fa7b0123a4e77819ddce0c0c75bef554f /users/seth/shell/bash.nix
parenta276cdbfa83425423c096d8049e6e29770018e31 (diff)
start using nixpkgs-fmt
Diffstat (limited to 'users/seth/shell/bash.nix')
-rw-r--r--users/seth/shell/bash.nix60
1 files changed, 30 insertions, 30 deletions
diff --git a/users/seth/shell/bash.nix b/users/seth/shell/bash.nix
index 0dfb717..031542b 100644
--- a/users/seth/shell/bash.nix
+++ b/users/seth/shell/bash.nix
@@ -1,31 +1,31 @@
-{config, ...}: {
- programs.bash = {
- enable = true;
- bashrcExtra = ''
- 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;
- 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";
- };
- shellOptions = [
- "cdspell"
- "checkjobs"
- "checkwinsize"
- "dirspell"
- "globstar"
- "histappend"
- "no_empty_cmd_completion"
- ];
- };
+{ config, ... }: {
+ programs.bash = {
+ enable = true;
+ bashrcExtra = ''
+ 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;
+ 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";
+ };
+ shellOptions = [
+ "cdspell"
+ "checkjobs"
+ "checkwinsize"
+ "dirspell"
+ "globstar"
+ "histappend"
+ "no_empty_cmd_completion"
+ ];
+ };
}