···11-# config.nu
22-#
33-# Installed by:
44-# version = "0.110.0"
55-#
66-# This file is used to override default Nushell settings, define
77-# (or import) custom commands, or run any other startup tasks.
88-# See https://www.nushell.sh/book/configuration.html
99-#
1010-# Nushell sets "sensible defaults" for most configuration settings,
1111-# so your `config.nu` only needs to override these defaults if desired.
1212-#
1313-# You can open this file in your default editor using:
1414-# config nu
1515-#
1616-# You can also pretty-print and page through the documentation for configuration
1717-# options using:
1818-# config nu --doc | nu-highlight | less -R
1919-dbus-update-activation-environment --systemd WAYLAND_DISPLAY XDG_CURRENT_DESKTOP=cosmic
2020-2121-$env.EDITOR = "helix"
2222-$env.config.buffer_editor = $env.EDITOR
2323-2424-$env.GPG_TTY = (tty)
2525-2626-$env.LANG = "en_US.UTF-8"
2727-2828-$env.config.show_banner = false
2929-3030-$env.PROMPT_INDICATOR = "$ "
3131-3232-$env.PROMPT_COMMAND = { $"[(pwd | path basename)@(sys host | get hostname)]" }
3333-3434-$env.config.table.mode = "psql"
3535-3636-$env.VPN_GATEWAY = ""
3737-3838-def gp [] { sudo gpclient --fix-openssl connect $env.VPN_GATEWAY }
3939-def virt [] { sudo /usr/bin/modprobe v4l2loopback exclusive_caps=1 card_label=OBS Virtual Camera }
4040-def c [] { cosmic-session }
4141-def h [] { dbus-update-activation-environment --systemd WAYLAND_DISPLAY XDG_CURRENT_DESKTOP=hyprland; start-hyprland }