From 0957b051ef4befd86ce97deef04f5095bea9543b Mon Sep 17 00:00:00 2001 From: seth Date: Mon, 20 Feb 2023 01:53:23 -0500 Subject: start using nixpkgs-fmt --- users/seth/shell/bash.nix | 60 +++++++++++++++++++++++------------------------ 1 file changed, 30 insertions(+), 30 deletions(-) (limited to 'users/seth/shell/bash.nix') 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" + ]; + }; } -- cgit v1.2.3