diff options
| author | seth <[email protected]> | 2023-02-20 01:53:23 -0500 |
|---|---|---|
| committer | seth <[email protected]> | 2023-02-20 01:53:23 -0500 |
| commit | 0957b051ef4befd86ce97deef04f5095bea9543b (patch) | |
| tree | a669111fa7b0123a4e77819ddce0c0c75bef554f /users/seth/shell/bash.nix | |
| parent | a276cdbfa83425423c096d8049e6e29770018e31 (diff) | |
start using nixpkgs-fmt
Diffstat (limited to 'users/seth/shell/bash.nix')
| -rw-r--r-- | users/seth/shell/bash.nix | 60 |
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" + ]; + }; } |
