aboutsummaryrefslogtreecommitdiff
path: root/shellrc
diff options
context:
space:
mode:
authorKarel Kočí <cynerd@email.cz>2017-11-19 21:36:16 +0100
committerKarel Kočí <cynerd@email.cz>2017-11-19 21:36:16 +0100
commite6a51fb649348d4ec7c25e87508e97faeb103461 (patch)
tree232e153b100e365b758f23079d54dfcbe20aaf6f /shellrc
parent63c0c990e8044c822636c9e56e6cf2c2b280ca76 (diff)
downloadmyconfigs-e6a51fb649348d4ec7c25e87508e97faeb103461.tar.gz
myconfigs-e6a51fb649348d4ec7c25e87508e97faeb103461.tar.bz2
myconfigs-e6a51fb649348d4ec7c25e87508e97faeb103461.zip
VArious changes but mostly just ssh-clear function added
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
+}