nushell/crates/nu-command/src/shells
nibon7 1ba5b25b29
Make g - switch to the last used shell (#6249)
* Make `g -` switch to the last used shell

Related #6223

Signed-off-by: nibon7 <nibon7@163.com>

* simplify error handling

Signed-off-by: nibon7 <nibon7@163.com>

* update NUSHELL_LAST_SHELL environment

Signed-off-by: nibon7 <nibon7@163.com>

* add test

Signed-off-by: nibon7 <nibon7@163.com>

* fix description

Signed-off-by: nibon7 <nibon7@163.com>
2022-08-06 10:11:03 -05:00
..
enter.rs Make g - switch to the last used shell (#6249) 2022-08-06 10:11:03 -05:00
exit.rs Make g - switch to the last used shell (#6249) 2022-08-06 10:11:03 -05:00
g.rs Make g - switch to the last used shell (#6249) 2022-08-06 10:11:03 -05:00
mod.rs Make g - switch to the last used shell (#6249) 2022-08-06 10:11:03 -05:00
n.rs Make g - switch to the last used shell (#6249) 2022-08-06 10:11:03 -05:00
p.rs Make g - switch to the last used shell (#6249) 2022-08-06 10:11:03 -05:00
shells_.rs Some code refactor for shells related commands (#6226) 2022-08-04 12:55:49 -05:00