mirror of
https://github.com/jimeh/tmuxifier.git
synced 2026-02-19 09:56:39 +00:00
Fix issue where EDITOR contains flags
This commit is contained in:
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user