Skip to content

Commit

Permalink
fix(zsh): fix zshenv
Browse files Browse the repository at this point in the history
  • Loading branch information
misumisumi committed Nov 20, 2024
1 parent c59757f commit 629257d
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions apps/user/shell/zsh/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -113,6 +113,7 @@
};
shellAliases = {
nix = "noglob nix";
nixos-rebuild = "noglob nix rebuild";
};
localVariables = {
ZVM_VI_INSERT_ESCAPE_BINDKEY = "jj";
Expand All @@ -122,6 +123,10 @@
ZVM_LAZY_KEYBINDINGS = false;
ABBR_QUIET = 1;
};
envExtra = ''
# Compatibilize with bash
export HOSTNAME=$(hostname)
'';
# 既にsessionが起動しているかつattach済なら新しくsessionを作成する
# そうでなればsessionにattachする
initExtraFirst = ''
Expand Down

0 comments on commit 629257d

Please sign in to comment.