2 Commits

Author SHA1 Message Date
48b5150b0d Bump version to 0.11.5 2014-07-21 16:08:22 +01:00
38932bf33e Fix issue where EDITOR contains flags 2014-07-21 16:07:33 +01:00
5 changed files with 5 additions and 5 deletions

View File

@@ -38,7 +38,7 @@ if [ ! -f "$layout_file" ]; then
fi fi
if [ -n "$EDITOR" ]; then if [ -n "$EDITOR" ]; then
exec "$EDITOR" "$layout_file" exec $EDITOR "$layout_file"
else else
echo "'\$EDITOR' is not set. Please manually open the layout for editing:" echo "'\$EDITOR' is not set. Please manually open the layout for editing:"
echo "$layout_file" echo "$layout_file"

View File

@@ -38,7 +38,7 @@ if [ ! -f "$layout_file" ]; then
fi fi
if [ -n "$EDITOR" ]; then if [ -n "$EDITOR" ]; then
exec "$EDITOR" "$layout_file" exec $EDITOR "$layout_file"
else else
echo "'\$EDITOR' is not set. Please manually open the layout for editing:" echo "'\$EDITOR' is not set. Please manually open the layout for editing:"
echo "$layout_file" echo "$layout_file"

View File

@@ -47,7 +47,7 @@ content="$(cat "$template")"
echo "${content//\{\{SESSION_NAME\}\}/$layout_name}" > "$layout_file" echo "${content//\{\{SESSION_NAME\}\}/$layout_name}" > "$layout_file"
if [ -n "$EDITOR" ]; then if [ -n "$EDITOR" ]; then
exec "$EDITOR" "$layout_file" exec $EDITOR "$layout_file"
else else
echo "Layout file has been created, but '\$EDITOR' is not set. Please " echo "Layout file has been created, but '\$EDITOR' is not set. Please "
echo "manually open the layout for editing:" echo "manually open the layout for editing:"

View File

@@ -47,7 +47,7 @@ content="$(cat "$template")"
echo "${content//\{\{WINDOW_NAME\}\}/$layout_name}" > "$layout_file" echo "${content//\{\{WINDOW_NAME\}\}/$layout_name}" > "$layout_file"
if [ -n "$EDITOR" ]; then if [ -n "$EDITOR" ]; then
exec "$EDITOR" "$layout_file" exec $EDITOR "$layout_file"
else else
echo "Layout file has been created, but '\$EDITOR' is not set. Please " echo "Layout file has been created, but '\$EDITOR' is not set. Please "
echo "manually open the layout for editing:" echo "manually open the layout for editing:"

View File

@@ -13,4 +13,4 @@ Outputs Tmuxifier version."
exit exit
fi fi
echo "0.11.4" echo "0.11.5"