benavento/rc

Awesome Shell

Closed this issue · 1 comments

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?

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.