enable cd to work with directory abbreviations (#5452)

* enable cd to work with abbreviations

* add abbreviation example

* fix tests

* make it configurable
This commit is contained in:
Darren Schroeder
2022-05-06 07:58:32 -05:00
committed by GitHub
parent 78a1879e36
commit 768ff47d28
9 changed files with 666 additions and 36 deletions

View File

@ -198,6 +198,7 @@ let-env config = {
sync_history_on_enter: true # Enable to share the history between multiple sessions, else you have to close the session to persist history to file
shell_integration: true # enables terminal markers and a workaround to arrow keys stop working issue
disable_table_indexes: false # set to true to remove the index column from tables
cd_with_abbreviations: false # set to true to allow you to do things like cd s/o/f and nushell expand it to cd some/other/folder
menus: [
# Configuration for default nushell menus
# Note the lack of souce parameter