mirror of
https://github.com/harivansh-afk/nix.git
synced 2026-04-17 08:01:02 +00:00
clean wt rm etc
This commit is contained in:
parent
4b436bdbfa
commit
23f876dc7c
12 changed files with 16 additions and 202 deletions
10
home/zsh.nix
10
home/zsh.nix
|
|
@ -3,11 +3,9 @@
|
|||
lib,
|
||||
pkgs,
|
||||
hostConfig,
|
||||
theme,
|
||||
...
|
||||
}:
|
||||
let
|
||||
theme = import ../lib/theme.nix { inherit config; };
|
||||
in
|
||||
{
|
||||
programs.zsh = {
|
||||
enable = true;
|
||||
|
|
@ -156,12 +154,6 @@ in
|
|||
_codex_apply_prompt_theme
|
||||
_codex_apply_highlight_styles
|
||||
|
||||
${lib.optionalString hostConfig.isDarwin ''
|
||||
if command -v wt >/dev/null 2>&1; then
|
||||
eval "$(command wt config shell init zsh)"
|
||||
wtc() { wt switch --create --base @ "$@"; }
|
||||
fi
|
||||
''}
|
||||
'')
|
||||
|
||||
(lib.mkAfter ''
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue