aboutsummaryrefslogtreecommitdiff
path: root/src/nushell/020_environment.nu
diff options
context:
space:
mode:
Diffstat (limited to 'src/nushell/020_environment.nu')
-rw-r--r--src/nushell/020_environment.nu24
1 files changed, 24 insertions, 0 deletions
diff --git a/src/nushell/020_environment.nu b/src/nushell/020_environment.nu
new file mode 100644
index 0000000..6b23615
--- /dev/null
+++ b/src/nushell/020_environment.nu
@@ -0,0 +1,24 @@
+#
+# ~~~ nushell env config
+#
+
+export-env {
+
+ #
+ # ~~~ system
+
+ # setup editor
+ $env.EDITOR = "nvim"
+
+ # setup ssh agent
+ $env.SSH_AUTH_SOCK = $"($env.XDG_RUNTIME_DIR)/ssh-agent.socket"
+
+ # setup gpg agent
+ $env.GPG_TTY = ^tty
+
+ #
+ # ~~~ theming
+
+ # setup qt
+ $env.QT_QPA_PLATFORMTHEME = "qt6ct"
+}