mirror of
https://github.com/elwrcl/copnix.git
synced 2026-10-31 14:28:02 +03:00
theme/QoL
This commit is contained in:
25 files changed
+1036
-439
No files matched your search
@@ -0,0 +1,16 @@
|
||||
{ ... }:
|
||||
{
|
||||
flake.homeModules.home-zsh-nu-handoff =
|
||||
{ config, lib, ... }:
|
||||
let
|
||||
nu = lib.getExe config.programs.nushell.package;
|
||||
in
|
||||
{
|
||||
programs.zsh.initContent = lib.mkBefore ''
|
||||
if [[ -o interactive && -z "$NO_NU" && -z "$INSIDE_NU" ]]; then
|
||||
export INSIDE_NU=1
|
||||
exec ${nu}
|
||||
fi
|
||||
'';
|
||||
};
|
||||
}
|
||||
Reference in new issue
Block a user