forked from extern/nushell
add history session id to $nu (#6585)
* add history session id to $nu * get nushell to compile * update test
This commit is contained in:
@ -1434,6 +1434,9 @@ pub fn eval_variable(
|
||||
output_cols.push("os-info".into());
|
||||
output_vals.push(os_record);
|
||||
|
||||
output_cols.push("history-session-id".into());
|
||||
output_vals.push(Value::int(engine_state.history_session_id, span));
|
||||
|
||||
Ok(Value::Record {
|
||||
cols: output_cols,
|
||||
vals: output_vals,
|
||||
|
Reference in New Issue
Block a user