aboutsummaryrefslogtreecommitdiff
path: root/shellrc
diff options
context:
space:
mode:
Diffstat (limited to 'shellrc')
-rw-r--r--shellrc6
1 files changed, 6 insertions, 0 deletions
diff --git a/shellrc b/shellrc
index 4eec35e..fcaa67f 100644
--- a/shellrc
+++ b/shellrc
@@ -108,3 +108,9 @@ dorepeat() {
echo
done
}
+
+# Clear all ssh control masters
+ssh-clear() {
+ rm -f ~/.cache/ssh
+ mkdir -p ~/.cache/ssh
+}