Closed mancausoft closed 4 years ago
Here is a workaround. Put this in your bashrc and change PATH-TO-VIMPAGER
vimcat() {
for s in "$@"; do
if [ -d "$s" ]; then
echo "vimcat: $s is a directory" > /dev/stderr
else
PATH-TO-VIMPAGER/vimcat "$s"
fi
done
}
I was trying vimcat and i press enter before finish the command... and use it on a directory output:
But the process is still open, and CTRL+C dosen't works... I had to do a CTRL + Z put in background and use kill -9 to kill it...