summaryrefslogtreecommitdiff
path: root/.local
diff options
context:
space:
mode:
authorJacob McDonnell <jacob@jacobmcdonnell.com>2024-10-19 20:03:48 -0400
committerJacob McDonnell <jacob@jacobmcdonnell.com>2024-10-19 20:03:48 -0400
commit82e0d1170bc73979ceb05e33e4fe35f3bfb4e499 (patch)
treef19ba5c8a983142f74a66becba635adcb934c156 /.local
parent9b9333086db7e803bf7c8c2ef676ff4da32808ba (diff)
Updated 473 script to include remote edit
Diffstat (limited to '.local')
-rwxr-xr-x.local/bin/4736
1 files changed, 5 insertions, 1 deletions
diff --git a/.local/bin/473 b/.local/bin/473
index 5dc8d4e..0ee8e5f 100755
--- a/.local/bin/473
+++ b/.local/bin/473
@@ -16,5 +16,9 @@ elif [[ -z $USER ]]; then
exit
fi
-ssh $USER@$SERVER
+if [[ "$2" == "-c" ]]; then
+ ssh $USER@$SERVER
+elif [[ "$2" == "-e" ]]; then
+ nvim scp://$USER@$SERVER//home/ugrads/$USER/
+fi