Procházet zdrojové kódy

ndiff: direction to get rid of vim warning

master
Arun Prakash Jana před 5 roky
rodič
revize
c5bbbd852c
V databázi nebyl nalezen žádný známý klíč pro tento podpis ID GPG klíče: A75979F35C080412
1 změnil soubory, kde provedl 4 přidání a 0 odebrání
  1. +4
    -0
      plugins/ndiff

+ 4
- 0
plugins/ndiff Zobrazit soubor

@@ -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


Načítá se…
Zrušit
Uložit