zsh: deref alias: make the result writable

This commit is contained in:
Colin 2024-03-11 08:01:27 +00:00
parent c07c23a9f8
commit 379f3ef9e0

View File

@ -172,6 +172,7 @@ in
cp --dereference "$1" "$1.deref"
mv -f "$1.deref" "$1"
fi
chmod u+w "$1"
}
function nd() {
# enter a directory, creating it if necessary