diff options
| author | seth <[email protected]> | 2023-02-20 03:43:04 -0500 |
|---|---|---|
| committer | seth <[email protected]> | 2023-02-20 03:43:04 -0500 |
| commit | 9a64ab70ea3276cf4470b6a23eaca81980f3a071 (patch) | |
| tree | 1dc5031213760266e6ab31b275990e452828e0e4 /users/seth/shell/default.nix | |
| parent | 0957b051ef4befd86ce97deef04f5095bea9543b (diff) | |
switch back to zsh + fix some issues
i miss fish but it's being weird :/
Diffstat (limited to 'users/seth/shell/default.nix')
| -rw-r--r-- | users/seth/shell/default.nix | 35 |
1 files changed, 19 insertions, 16 deletions
diff --git a/users/seth/shell/default.nix b/users/seth/shell/default.nix index 2529a48..a60470a 100644 --- a/users/seth/shell/default.nix +++ b/users/seth/shell/default.nix @@ -5,22 +5,25 @@ ./zsh ]; - home.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"; - }; + home = { + sessionVariables = { + EDITOR = "nvim"; + VISUAL = "nvim"; + GPG_TTY = "$(tty)"; + 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"; + }; - home.shellAliases = { - ls = "exa --icons"; - la = "ls -a"; - diff = "diff --color=auto"; - g = "git"; - gs = "g status"; - nixsw = "sudo nixos-rebuild switch"; - nixup = "nixsw --upgrade"; + shellAliases = { + ls = "exa --icons"; + la = "ls -a"; + diff = "diff --color=auto"; + g = "git"; + gs = "g status"; + nixsw = "sudo nixos-rebuild switch"; + nixup = "nixsw --upgrade"; + }; }; } |
