aboutsummaryrefslogtreecommitdiff
path: root/sh
diff options
context:
space:
mode:
authorEuAndreh <eu@euandre.org>2021-06-08 08:44:09 -0300
committerEuAndreh <eu@euandre.org>2021-06-08 08:44:09 -0300
commit2685289505cebefb811107c112c8fea87d22d123 (patch)
tree48567e2fb2ec7905aa51b1a0b7e7e361783b6df7 /sh
parentexrc.conf: Enable showmatch (diff)
downloaddotfiles-2685289505cebefb811107c112c8fea87d22d123.tar.gz
dotfiles-2685289505cebefb811107c112c8fea87d22d123.tar.xz
sh/util.sh: Add ut(), the tabbing variant of t()
Diffstat (limited to 'sh')
-rw-r--r--sh/util.sh6
1 files changed, 5 insertions, 1 deletions
diff --git a/sh/util.sh b/sh/util.sh
index bb636207..89199c11 100644
--- a/sh/util.sh
+++ b/sh/util.sh
@@ -6,7 +6,11 @@ genpassword() {
}
t() {
- expand "$1" -t2 | sponge "$1"
+ expand "$1" -t2 | sponge "$1"
+}
+
+ut() {
+ unexpand "$1" -t2 | sponge "$1"
}
gvi() {