zsh: deref alias: make the result writable
This commit is contained in:
parent
c07c23a9f8
commit
379f3ef9e0
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue
Block a user