We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0b1a123 commit ff911aeCopy full SHA for ff911ae
modules/home-manager/shell.nix
@@ -7,6 +7,9 @@
7
let
8
zshCustomPrefix = "oh-my-zsh";
9
homeDir = config.home.homeDirectory;
10
+ wtInstall = shell: ''
11
+ if command -v wt >/dev/null 2>&1; then eval "$(command wt config shell init ${shell})"; fi
12
+ '';
13
in
14
{
15
home = {
@@ -32,6 +35,7 @@ in
32
35
neofetch = "fastfetch";
33
36
ncdu = "gdu";
34
37
pre-commit = "prek";
38
+ lwt = "lazyworktree";
39
};
40
41
@@ -78,6 +82,7 @@ in
78
82
79
83
initContent = ''
80
84
unset RPS1
85
+ ${wtInstall "zsh"}
81
86
'';
87
oh-my-zsh = {
88
enable = true;
@@ -112,6 +117,7 @@ in
112
117
sessionVariables = config.home.sessionVariables // { };
113
118
initExtra = ''
114
119
eval "$(mise activate bash)"
120
+ ${wtInstall "bash"}
115
121
116
122
123
}
0 commit comments