mirror of
https://github.com/rachelramin/Lifeline-Text-Program.git
synced 2026-11-05 09:00:25 -05:00
11 lines
356 B
Bash
Executable File
Vendored
11 lines
356 B
Bash
Executable File
Vendored
#!/bin/bash
|
|
|
|
# This file is executed by NSTask *task in LifelineView.m in LifelineWidget
|
|
# Three features other than opening the session: Enables bash alias expansion, sets bash alias source to .bashrc on server, and then sends an sms using the bash alias
|
|
ssh Lifeline@REDACTED "bash -s" << EOF
|
|
shopt -s expand_aliases;
|
|
source .bashrc
|
|
sendsms;
|
|
EOF
|
|
exit
|