fix: dfe vim pwd

This commit is contained in:
2024-08-23 01:02:06 +03:00
parent d5fab33fd3
commit 17e85c4614

View File

@@ -37,7 +37,9 @@ dfe() {
if [[ -f $file ]]; then
hash=$(md5 $file)
echo "Opening $(strip-home $file)..."
pushd $DOTFILES
nvim $file
popd
newhash=$(md5 $file)
if [[ $? -eq 0 && $hash != $newhash ]]; then