mirror of
https://github.com/jimeh/tmuxifier.git
synced 2026-02-19 09:56:39 +00:00
Compare commits
9 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| 48b5150b0d | |||
| 38932bf33e | |||
| 2aa549ff70 | |||
| 6f0fdba121 | |||
| a1e6972434 | |||
| 7443dd74f8 | |||
| e08ee38927 | |||
| 8416e63094 | |||
|
|
fe1ac9d2f9 |
@@ -38,7 +38,7 @@ if [ ! -f "$layout_file" ]; then
|
||||
fi
|
||||
|
||||
if [ -n "$EDITOR" ]; then
|
||||
exec "$EDITOR" "$layout_file"
|
||||
exec $EDITOR "$layout_file"
|
||||
else
|
||||
echo "'\$EDITOR' is not set. Please manually open the layout for editing:"
|
||||
echo "$layout_file"
|
||||
|
||||
@@ -38,7 +38,7 @@ if [ ! -f "$layout_file" ]; then
|
||||
fi
|
||||
|
||||
if [ -n "$EDITOR" ]; then
|
||||
exec "$EDITOR" "$layout_file"
|
||||
exec $EDITOR "$layout_file"
|
||||
else
|
||||
echo "'\$EDITOR' is not set. Please manually open the layout for editing:"
|
||||
echo "$layout_file"
|
||||
|
||||
@@ -47,7 +47,7 @@ content="$(cat "$template")"
|
||||
echo "${content//\{\{SESSION_NAME\}\}/$layout_name}" > "$layout_file"
|
||||
|
||||
if [ -n "$EDITOR" ]; then
|
||||
exec "$EDITOR" "$layout_file"
|
||||
exec $EDITOR "$layout_file"
|
||||
else
|
||||
echo "Layout file has been created, but '\$EDITOR' is not set. Please "
|
||||
echo "manually open the layout for editing:"
|
||||
|
||||
@@ -47,7 +47,7 @@ content="$(cat "$template")"
|
||||
echo "${content//\{\{WINDOW_NAME\}\}/$layout_name}" > "$layout_file"
|
||||
|
||||
if [ -n "$EDITOR" ]; then
|
||||
exec "$EDITOR" "$layout_file"
|
||||
exec $EDITOR "$layout_file"
|
||||
else
|
||||
echo "Layout file has been created, but '\$EDITOR' is not set. Please "
|
||||
echo "manually open the layout for editing:"
|
||||
|
||||
@@ -2,13 +2,4 @@
|
||||
set -e
|
||||
[ -n "$TMUXIFIER_DEBUG" ] && set -x
|
||||
|
||||
# Provide tmuxifier help
|
||||
if calling-help "$@"; then
|
||||
echo "usage: tmuxifier tmux [...]
|
||||
|
||||
Wrapper command for Tmux executable allowing Tmuxifier to pass in any custom
|
||||
arguments specified in the TMUXIFIER_TMUX_OPTS environment variable."
|
||||
exit
|
||||
fi
|
||||
|
||||
tmux $TMUXIFIER_TMUX_OPTS "$@"
|
||||
|
||||
@@ -13,4 +13,4 @@ Outputs Tmuxifier version."
|
||||
exit
|
||||
fi
|
||||
|
||||
echo "0.11.1"
|
||||
echo "0.11.5"
|
||||
|
||||
Reference in New Issue
Block a user