summaryrefslogtreecommitdiff
path: root/.ashrc
diff options
context:
space:
mode:
Diffstat (limited to '.ashrc')
-rw-r--r--.ashrc6
1 files changed, 5 insertions, 1 deletions
diff --git a/.ashrc b/.ashrc
index 4ea8882..dfc1c7d 100644
--- a/.ashrc
+++ b/.ashrc
@@ -22,5 +22,9 @@ alias parallel=parallel-moreutils
alias s6-rclocal='s6-rc -l "$XDG_RUNTIME_DIR"/s6-rc'
s6less() {
- s6-tai64nlocal < ~/.local/state/s6/logs/"$1"/current | less -R
+ s6-tai64nlocal <~/.local/state/s6/logs/"$1"/current | less -R
+}
+
+s6tail() {
+ tail -n +1 -F ~/.local/state/s6/logs/"$1"/current | s6-tai64nlocal
}