mirror of
https://github.com/chenasraf/dotfiles.git
synced 2026-05-18 01:29:06 +00:00
fix: dfe vim pwd
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user