pyratelog

personal blog
git clone git://git.pyratebeard.net/pyratelog.git
Log | Files | Refs | README

commit 61551ecbd8ab39ed7aaa35afd9f6d8c45df0ca31
parent 09517dd35576e1c5c27f831fd2332bd0462c9c15
Author: pyratebeard <root@pyratebeard.net>
Date:   Fri, 11 Mar 2022 15:20:33 +0000

same thing works with unbuffer

Diffstat:
Mentry/20220311-make_me_a_sandwich.md | 6+++++-
1 file changed, 5 insertions(+), 1 deletion(-)

diff --git a/entry/20220311-make_me_a_sandwich.md b/entry/20220311-make_me_a_sandwich.md @@ -24,6 +24,10 @@ We can change that by adding another alias alias sudo='sudo ' ``` -Now we can run our aliases as sudo. +Now we can run our aliases as sudo. This also works for `unbuffer`, which as I mentioned in [a previous post](20220303-unbuff_colours.html) doesn't recognise aliases. +``` +alias unbuffer='unbuffer ' +unbuffer ap playbook.yml | tee results.out +``` Do you have any fun alias hacks?