sources for e1e0 website
git clone https://git.e1e0.net/e1e0.net.git
Log | Files | Refs

commit 7e3a18329d236b7c99e186b40a8e6c96fa9598f4
parent 67f289e99644282a5fbfc000aa8c0de9e188334a
Author: Paco Esteban <paco@e1e0.net>
Date:   Sat,  1 May 2021 13:35:25 +0200

add suggestion from Chang, Chu-Kuan to the aliases article

Msrc/aliases-helper-functions-shell.md | 13+++++++++++++
1 file changed, 13 insertions(+), 0 deletions(-)

diff --git a/src/aliases-helper-functions-shell.md b/src/aliases-helper-functions-shell.md @@ -23,7 +23,20 @@ First some basic aliases (comments in line): ``` # create a tmux split 82 columns wide, used to take a peek at man pages alias tman='tmux split-window -h -l 82 man' +``` + +_Update 2021-05-01:_ Reader Chang, Chu-Kuan sends me a variation of this last +one that does not require you to have a _free_ terminal to invoke it. It's +basically the same but with a `tmux(1)` bind key. This should go in your +`.tmux.conf`: +``` +bind-key M command-prompt -I 'split-window -h -l 82 man ' +``` + +And now, more aliases: + +``` # I use kubernetes at work, so those save a lot of typing. # I also use some custom subcommands, via kubectl plugins. I might write about # that ...