Ask the user to merge changes if source and destination were out of sync
This commit is contained in:
parent
0187e952ea
commit
d6bd506e66
@ -4,7 +4,7 @@
|
|||||||
"window.customMenuBarAltFocus": false,
|
"window.customMenuBarAltFocus": false,
|
||||||
"window.titleBarStyle": "custom",
|
"window.titleBarStyle": "custom",
|
||||||
"window.menuBarVisibility": "visible",
|
"window.menuBarVisibility": "visible",
|
||||||
"workbench.colorTheme": "Default Light+",
|
"workbench.colorTheme": "papercolor-vscode-dark",
|
||||||
"workbench.startupEditor": "none",
|
"workbench.startupEditor": "none",
|
||||||
"task.problemMatchers.neverPrompt": {
|
"task.problemMatchers.neverPrompt": {
|
||||||
"shell": true
|
"shell": true
|
||||||
|
@ -105,6 +105,14 @@ function install() {
|
|||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
if [ -e "${dst}" ]; then
|
||||||
|
if command -v meld &> /dev/null
|
||||||
|
then
|
||||||
|
meld "${src}" "${dst}"
|
||||||
|
else
|
||||||
|
vim -d "${src}" "${dst}"
|
||||||
|
fi
|
||||||
|
fi
|
||||||
backup_file "${dst}"
|
backup_file "${dst}"
|
||||||
echo "${dst} will now be linked."
|
echo "${dst} will now be linked."
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user