modifications to obtain working environment

This commit is contained in:
2016-06-19 15:31:31 +01:00
parent 0bf1741698
commit 941a089d66
17 changed files with 41 additions and 103 deletions

View File

@@ -1,5 +1,4 @@
#!/usr/bin/env bash
shell=$(basename "$SHELL")
# check if reattach-to-user-namespace is available

4
bin/tm
View File

@@ -1,4 +1,4 @@
#!/bin/sh
#!/bin/bash
# abort if we're already inside a TMUX session
[ "$TMUX" == "" ] || exit 0
@@ -7,7 +7,7 @@
# present menu for user to choose which workspace to open
PS3="Please choose your session: "
options=($(tmux list-sessions -F "#S" 2>/dev/null) "New Session" "zsh")
options=($(tmux list-sessions -F "#S" 2>/dev/null) "New Session")
echo "Available sessions"
echo "------------------"
echo " "