diff options
Diffstat (limited to 'users/seth/shell/bash.nix')
| -rw-r--r-- | users/seth/shell/bash.nix | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/users/seth/shell/bash.nix b/users/seth/shell/bash.nix new file mode 100644 index 0000000..fdfcd28 --- /dev/null +++ b/users/seth/shell/bash.nix @@ -0,0 +1,27 @@ +{ config, pkgs, ...}: + +{ + programs.bash = { + enable = true; + 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" + ]; + }; +} |
