Update tmux config

This commit is contained in:
2017-05-13 14:42:34 +01:00
parent 2e446f1872
commit 8d10d95a1b
3 changed files with 20 additions and 31 deletions

View File

@@ -1,12 +0,0 @@
#! /usr/bin/env bash
# Ensure that tmux windows are by default named after the shell, rather than
# full path to the shell binary.
shell=$(basename "$SHELL")
# If reattach-to-user-namespace is not available, just run the command.
if [ -n "$(command -v reattach-to-user-namespace)" ]; then
reattach-to-user-namespace -l "$shell"
else
exec "$shell"
fi

View File

@@ -1,8 +0,0 @@
#! /usr/bin/env bash
# If reattach-to-user-namespace is not available, just run the command.
if [ -n "$(command -v reattach-to-user-namespace)" ]; then
reattach-to-user-namespace $@
else
exec "$@"
fi