Last active
May 6, 2026 17:51
-
-
Save Transfusion/fe07485f3162a1e1a87bec1153412abe to your computer and use it in GitHub Desktop.
Sample ~/.profile for iSH
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| SESSION_EXISTS=$(tmux list-sessions 2>/dev/null | grep -c "^svc:") | |
| if [ "$SESSION_EXISTS" -eq 0 ]; then | |
| tmux new-session -d -s svc -n sshd '/usr/sbin/sshd -D -e -E /dev/stderr' | |
| tmux new-window -t svc -n locstream 'cat /dev/location > /dev/null' | |
| fi |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment