diff --git a/users/pbsds/home/profiles/desktop/bashrc.d/zeditor-remote.sh b/users/pbsds/home/profiles/desktop/bashrc.d/zeditor-remote.sh index 1071edf..1d66e93 100644 --- a/users/pbsds/home/profiles/desktop/bashrc.d/zeditor-remote.sh +++ b/users/pbsds/home/profiles/desktop/bashrc.d/zeditor-remote.sh @@ -4,6 +4,14 @@ zeditor-here() ( done ) +# zed-here() { zeditor-here "$@"; } +atom-here() { zeditor-here "$@"; } + + +if [[ -z "${SSH_CLIENT:-}" && -z "${SSH_TTY:-}" ]]; +then + + zeditor-remote() { local statedir="${XDG_STATE_HOME:-"$HOME/.local/state/"}/zeditor-remote-sh" @@ -189,9 +197,8 @@ zeditor-remote() { unset -f lru_push } -atom-here() { - zeditor-here "$@" -} -atom-remote() { - zeditor-remote "$@" -} +# zed-remote() { zeditor-remote "$@"; } +atom-remote() { zeditor-remote "$@"; } + + +fi diff --git a/users/pbsds/home/profiles/minimal/ssh.nix b/users/pbsds/home/profiles/minimal/ssh.nix index 61a09ab..ebd4943 100644 --- a/users/pbsds/home/profiles/minimal/ssh.nix +++ b/users/pbsds/home/profiles/minimal/ssh.nix @@ -64,20 +64,20 @@ "*.idi.ntnu.no".proxyJump = "eple.pbsds.net"; # me - # "eple.pbsds.net".proxyJump = "login.pvv.ntnu.no"; - # "bolle.pbsds.net".proxyJump = "login.pvv.ntnu.no"; - "bolle.pbsds.net".forwardX11Trusted = false; - "garp.pbsds.net".forwardX11Trusted = false; # "knut.pbsds.net".port = 23; # "nord.pbsds.net".port = 24; # "sopp.pbsds.net".port = 26; # "noximilien.pbsds.net" = {}; + # "eple.pbsds.net".proxyJump = "login.pvv.ntnu.no"; + # "bolle.pbsds.net".proxyJump = "login.pvv.ntnu.no"; + "bolle.pbsds.net".forwardX11Trusted = false; # others have access to it + # "garp.pbsds.net".forwardX11Trusted = false; # others have access to it "garp.pbsds.net".host = "garp.tail9aac63.ts.net"; "knut.pbsds.net".host = "knut.tail9aac63.ts.net"; "nord.pbsds.net".host = "nord.tail9aac63.ts.net"; "sopp.pbsds.net".host = "sopp.tail9aac63.ts.net"; - "noximilien.pbsds.net".host = "noximilien.tail9aac63.ts.net"; "rocm.pbsds.net".host = "rocm.tail9aac63.ts.net"; + "noximilien.pbsds.net".host = "noximilien.tail9aac63.ts.net"; "furiphoneflx1.pbsds.net".user = "furios"; "furiphoneflx1.pbsds.net".host = "furiphoneflx1.tail9aac63.ts.net";