Explorar el Código

ndiff: direction to get rid of vim warning

master
Arun Prakash Jana hace 5 años
padre
commit
c5bbbd852c
No se encontró ninguna clave conocida en la base de datos para esta firma ID de clave GPG: A75979F35C080412
Se han modificado 1 ficheros con 4 adiciones y 0 borrados
  1. +4
    -0
      plugins/ndiff

+ 4
- 0
plugins/ndiff Ver fichero

@@ -23,6 +23,10 @@ if [ -s $selection ]; then
vimdiff "$dir1" "$dir2"
rm "$dir1" "$dir2"
else
# If xargs supports the -o option, use it to get rid of:
# Vim: Warning: Input is not from a terminal
# cat $selection | xargs -0 -o vimdiff

cat $selection | xargs -0 vimdiff
fi
else


Cargando…
Cancelar
Guardar