summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.bashrc2
-rwxr-xr-x.local/bin/wtos7
2 files changed, 1 insertions, 8 deletions
diff --git a/.bashrc b/.bashrc
index b667b46..522f79e 100644
--- a/.bashrc
+++ b/.bashrc
@@ -81,4 +81,4 @@ alias v="$VISUAL"
PS1='\[\e[96;1m\]\u \[\e[39m\]\W \[\e[96m\]〉\[\e[0m\]'
-sed '1s/^/‘/; $s/$/’/' "$XDG_CACHE_HOME/qotd" | wtos
+sed '1s/^/‘/; $s/$/’/' "$XDG_CACHE_HOME/qotd" | fold -sw 80
diff --git a/.local/bin/wtos b/.local/bin/wtos
deleted file mode 100755
index e3a6da2..0000000
--- a/.local/bin/wtos
+++ /dev/null
@@ -1,7 +0,0 @@
-#!/bin/sh
-
-set -e
-
-: ${COLUMNS:=`tput cols`}
-width=`dc -e "$COLUMNS 80 $COLUMNS 80 [r] sx >x p"`
-fold -sw $width