From b1cee86b4c4bf02a6ada0f7f135b0291a370f97d Mon Sep 17 00:00:00 2001 From: Malin Freeborn Date: Mon, 19 Jun 2023 18:38:44 +0200 Subject: [PATCH] add shell arguments --- slides/shells/shells.md | 3 +++ 1 file changed, 3 insertions(+) diff --git a/slides/shells/shells.md b/slides/shells/shells.md index 3befb9d..1bf02ce 100644 --- a/slides/shells/shells.md +++ b/slides/shells/shells.md @@ -48,6 +48,7 @@ Protip: for a faster machine, make `sh` a link to `/bin/dash`. ## zsh - `for x in 1..10` +- great autocompletion # Bash Advantages @@ -94,6 +95,8 @@ function wotsa(){ - `type $whatever` - `.inputrc` - `PS1=foo` +- `^$` for first argument used +- `!$` for last argument used # Fun with Bash