aboutsummaryrefslogtreecommitdiff
path: root/bash/bashrc.d
diff options
context:
space:
mode:
authorTom Ryder <tom@sanctum.geek.nz>2016-08-02 10:55:42 +1200
committerTom Ryder <tom@sanctum.geek.nz>2016-08-02 10:55:42 +1200
commitb2a43a059fe39df9bd732f51e648410d0282b590 (patch)
treed140556d9b99feccb0f81dc39fb6ce13a133e84a /bash/bashrc.d
parentAdd mention of existing clwr() function (diff)
downloaddotfiles-b2a43a059fe39df9bd732f51e648410d0282b590.tar.gz
dotfiles-b2a43a059fe39df9bd732f51e648410d0282b590.zip
Add clrd()
Diffstat (limited to 'bash/bashrc.d')
-rw-r--r--bash/bashrc.d/clrd.bash6
1 files changed, 6 insertions, 0 deletions
diff --git a/bash/bashrc.d/clrd.bash b/bash/bashrc.d/clrd.bash
new file mode 100644
index 00000000..dbfc0ea1
--- /dev/null
+++ b/bash/bashrc.d/clrd.bash
@@ -0,0 +1,6 @@
+# Clear screen, start tail -f on a file
+clrd() {
+ clear
+ tail -f
+}
+