diff options
author | Daniel Friesel <derf@finalrewind.org> | 2018-08-12 17:35:23 +0200 |
---|---|---|
committer | Daniel Friesel <derf@finalrewind.org> | 2018-08-12 17:35:23 +0200 |
commit | 914610c91967a74e3125391721f333e1b76796ae (patch) | |
tree | 8d30caf12c2bf8ecf331d9cd4552d6276158f702 | |
parent | 52de1bb9a65a4fada40d544d1400c80d94a321cb (diff) |
add 'rwdo' function
-rw-r--r-- | etc/.zshrc | 6 |
1 files changed, 6 insertions, 0 deletions
@@ -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 . } |