diff options
Diffstat (limited to 'bash')
-rw-r--r-- | bash/bashrc.d/clrd.bash | 5 | ||||
-rw-r--r-- | bash/bashrc.d/clwr.bash | 8 |
2 files changed, 0 insertions, 13 deletions
diff --git a/bash/bashrc.d/clrd.bash b/bash/bashrc.d/clrd.bash deleted file mode 100644 index 145fc108..00000000 --- a/bash/bashrc.d/clrd.bash +++ /dev/null @@ -1,5 +0,0 @@ -# Clear screen, start tail -f on a file -clrd() { - clear - tail -f -} diff --git a/bash/bashrc.d/clwr.bash b/bash/bashrc.d/clwr.bash deleted file mode 100644 index 455484d9..00000000 --- a/bash/bashrc.d/clwr.bash +++ /dev/null @@ -1,8 +0,0 @@ -# Clear screen, accept line, write to all args, loop; use this as e.g. an input -# tmux window for a minimal IRC client like ii(1). Uses read -e to allow -# newlines. -clwr() { - while { clear && IFS= read -er line ; } ; do - printf '%s\n' "$line" - done -} |