Awesome Shell
Closed this issue · 1 comments
frobnitzem commented
This shell is awesome, but it's hard to work with lists. I can concatenate them, but can't remove members. It would help to have the shift
builtin accept a variable name. Should I put in a PR for that?
frobnitzem commented
Nevermind, this can be written as a shell-function,
fn shift_var {
var=$1
*=$$var
shift
$var=$*
}
probably should add that to the docs, and fix "^C" so it scraps the current command entry.