summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Friesel <derf@finalrewind.org>2018-08-13 17:31:15 +0200
committerDaniel Friesel <derf@finalrewind.org>2018-08-13 17:31:15 +0200
commitd7038d520083d6eee1a51a3bb7f73e10f86f5710 (patch)
treeca4fa750fa41326f53bf67498a7b6b9245ea0484
parenta556c2fd6907d25d6925176bbab786e9ff8566db (diff)
parent914610c91967a74e3125391721f333e1b76796ae (diff)
Merge branch 'master' of ssh://pkgroot.finalrewind.org//home/derf/var/packages_root/zsh
-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 .
}