mirror of
https://github.com/nushell/nushell.git
synced 2025-08-09 10:45:41 +02:00
fix nu variable. tweak shells (#1558)
This commit is contained in:
@ -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(
|
||||
|
Reference in New Issue
Block a user