aboutsummaryrefslogtreecommitdiff
path: root/session
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2018-03-05 12:12:10 -0300
committerSilvio Rhatto <rhatto@riseup.net>2018-03-05 12:12:10 -0300
commit98963206630584d7903f5cb5b6c094e5d20cca64 (patch)
tree518d2b75098d112845679a60183f56c6036c54cc /session
parentc3b76e1b47c72042295a0c5e42c08ddbc7ff5942 (diff)
downloadutils-x11-98963206630584d7903f5cb5b6c094e5d20cca64.tar.gz
utils-x11-98963206630584d7903f5cb5b6c094e5d20cca64.tar.bz2
Updates dotfiles, kvmx
Diffstat (limited to 'session')
-rwxr-xr-xsession9
1 files changed, 8 insertions, 1 deletions
diff --git a/session b/session
index d18da1b..36ef7b7 100755
--- a/session
+++ b/session
@@ -9,7 +9,7 @@ SESSION="$1"
# Check syntax
if [ -z "$SESSION" ]; then
- echo "usage: $BASENAME <session>"
+ echo "usage: $BASENAME [--list|--choser] <session>"
exit 1
fi
@@ -22,3 +22,10 @@ fi
if [ -e "$HOME/.tmux/$SESSION" ]; then
terminal shell $SESSION &
fi
+
+# TODO
+# Check browser session
+#BROWSWER="`browser-sessions | grep -E " code ?" | cut -d : -f 1`"
+#if [ ! -z "$BROWSER" ]; then
+# # Open browser in the given session
+#fi