mirror of
https://github.com/jarun/nnn.git
synced 2024-11-24 11:51:27 +00:00
ndiff: direction to get rid of vim warning
This commit is contained in:
parent
775742150c
commit
c5bbbd852c
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue