allow arguments in EDITOR env in zsh rosed

This commit is contained in:
Attila Sztupak 2017-04-20 00:17:38 +01:00 committed by Dirk Thomas
parent fb6c2c79b9
commit 8b7dc3cc41
1 changed files with 1 additions and 1 deletions

View File

@ -249,7 +249,7 @@ function rosed {
if [[ -z $EDITOR ]]; then
vim ${arg}
else
$EDITOR ${arg}
eval $EDITOR ${arg}
fi
}