mirror of
https://github.com/jimeh/dotfiles.git
synced 2026-02-19 11:06:41 +00:00
Update tmux config
This commit is contained in:
@@ -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
|
||||
@@ -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
|
||||
Reference in New Issue
Block a user