In ~/bin create a file named kompare with the following contents:
#!/bin/bash
# Strip Kompare's "-c" flag if present
if [ "$1" = "-c" ]; then
shift
fi
exec meld "$@"
if [ "$1" = "-c" ]; then
shift
fi
exec meld "$@"
Then do a chmod +x kompare
Add ~/bin to the path in .bashrc and .profile
export PATH="$HOME/bin:$PATH"
Add "Compare Files" to Dolphin's Toolbar
No comments:
Post a Comment