summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--etc/.zshrc6
1 files changed, 6 insertions, 0 deletions
diff --git a/etc/.zshrc b/etc/.zshrc
index 4aae1dd..e61197f 100644
--- a/etc/.zshrc
+++ b/etc/.zshrc
@@ -213,6 +213,12 @@ function mkcd {
cd ${1}
}
+function rwdo {
+ sudo mount -o remount,rw /
+ "$@"
+ sudo mount -o remount,ro /
+}
+
function world-readable {
chmod -R a+rX .
}