fix nu variable. tweak shells (#1558)

This commit is contained in:
Jonathan Turner
2020-04-06 10:30:54 -07:00
committed by GitHub
parent d0618b0b32
commit 183c8407de
3 changed files with 4 additions and 3 deletions

View File

@ -192,6 +192,7 @@ fn parse_full_column_path(lite_arg: &Spanned<String>) -> (SpannedExpression, Opt
if head.is_none() {
if current_part.starts_with('$') {
// We have the variable head
head = Some(Expression::variable(current_part, lite_arg.span));
} else if let Ok(row_number) = current_part.parse::<u64>() {
output.push(