From 9d3d6f9da1140727e5a4f1004cfbac06749d61dc Mon Sep 17 00:00:00 2001 From: Jason Morganson <128727+jasonmorganson@users.noreply.github.com> Date: Sun, 27 Oct 2024 10:24:47 -0400 Subject: [PATCH] Try avoiding TTY --- home/dot_config/nushell/scripts/aliases.nu.tmpl | 1 - home/dot_config/nushell/scripts/make-aliases.nu.tmpl | 1 + 2 files changed, 1 insertion(+), 1 deletion(-) delete mode 100644 home/dot_config/nushell/scripts/aliases.nu.tmpl create mode 100644 home/dot_config/nushell/scripts/make-aliases.nu.tmpl diff --git a/home/dot_config/nushell/scripts/aliases.nu.tmpl b/home/dot_config/nushell/scripts/aliases.nu.tmpl deleted file mode 100644 index 8e6454b2..00000000 --- a/home/dot_config/nushell/scripts/aliases.nu.tmpl +++ /dev/null @@ -1 +0,0 @@ -{{ output "pkgx" "+nushell.sh" "nu" "-c `~/.local/bin/als init zsh | lines | skip 2 | parse 'alias {name}=\"{value}\"' | each {|alias| print $\"export alias ($alias.name) = ($alias.value)\" } | ignore`" }} diff --git a/home/dot_config/nushell/scripts/make-aliases.nu.tmpl b/home/dot_config/nushell/scripts/make-aliases.nu.tmpl new file mode 100644 index 00000000..f89a6fac --- /dev/null +++ b/home/dot_config/nushell/scripts/make-aliases.nu.tmpl @@ -0,0 +1 @@ +{{ output "pkgx" "+nushell.sh" "nu" "-c" "~/.local/bin/als init zsh | lines | skip 2 | parse 'alias {name}=\"{value}\"' | each {|alias| echo $\"export alias ($alias.name) = ($alias.value)\" } | save -f ~/.config/nushell/scripts/aliases.nu" }} \ No newline at end of file