1
0
mirror of https://github.com/nushell/nushell.git synced 2025-06-30 06:30:08 +02:00
Commit Graph

400 Commits

Author SHA1 Message Date
608b6f3634 Generic menus ()
* updated to reedline generic menus

* help menu with examples

* generic menus in the engine

* description menu template

* list of menus in config

* default value for menu

* menu from block

* generic menus examples

* change to reedline git path

* cargo fmt

* menu name typo

* remove commas from default file

* added error message
2022-04-04 15:54:48 +01:00
62901573d0 update the readme in the docs folder ()
* update docs/Readme

* tweak readme
2022-04-01 13:48:09 -07:00
0986c61a5d Lift line editor construction out of loop ()
Enables the use of some features on reedline

- Keeping the line when clearing the screen with `Ctrl-L`
- Using the internal cut buffer between lines
- Submitting external commands via keybinding and keeping the line

Additional effect:

Keep the history around and do basic syncs (performance improvement
minimal as session changes have to be read and written)

Additional change:

Give the option to defer writing/rereading the history file to the
closing of the session ($config.sync_history_on_enter)
2022-03-31 23:25:48 +02:00
385bc40627 evaluate indicators as commands ()
* evaluate indicators are commands

* default strings in config

* default multiline

* removed build string command
2022-03-31 06:22:55 +01:00
a2872b4ccc Strip '+ ' decoration in git branch list ()
- '+' is the prefix for the current branch in some worktree

Closes 
2022-03-28 16:07:55 -05:00
JT
911fba8a8a Help menu improvements ()
* Help menu improvements

* default config
2022-03-27 15:21:40 -05:00
a4410fef40 Help menu ()
* nu-completer with suggestions

* help menu with scrolling

* updates description rows based on space

* configuration for help menu

* update nu-ansi-term

* corrected test for update cells

* changed keybinding
2022-03-27 14:01:04 +01:00
41af2e4b30 update link () 2022-03-23 07:52:49 -05:00
JT
1c964cdfe7 Bump to 0.60 ()
* WIP

* semi-revert metadata change
2022-03-23 07:32:03 +13:00
1d38ff071e fix: typo ()
Fix a typo in the default config
2022-03-20 07:49:00 -05:00
JT
d5f23ab592 Put completions in their own module () 2022-03-20 12:03:58 +13:00
762da0989c now that docs/commands is gone delete make_docs.nu as it is no longer needed () 2022-03-14 20:50:46 -07:00
65baeaecd4 delete docs/commands () 2022-03-14 21:00:30 -05:00
10d805c1fa feat: fix and update some examples () 2022-03-14 07:41:09 -05:00
6e65aef9bf remove cmd from edit () 2022-03-13 20:05:13 +00:00
c73d8d5f95 Add LIB_DIRS and PLUGIN_DIRS ()
* Add LIB_DIRS and PLUGIN_DIRS

* Put plugin dirs behind plugin feature
2022-03-12 22:12:15 +02:00
b342270112 update edit: cmd: undo syntax () 2022-03-12 09:37:19 -06:00
ccc85a2979 remove $nu.cwd () 2022-03-12 09:11:19 -06:00
5fcc670860 allow list to keybinding mode ()
* allow list to keybinding mode

* added comments to default.nu
2022-03-12 11:51:08 +00:00
90b2ec537f Do not pass non-string env vars to externals ()
* Do not pass non-string env vars to externals

Also misc cleanup

* Add note to default config

* Add a test

* Ensure PATH/Path conversion list <-> string
2022-03-12 00:18:39 +02:00
f3626f7c3a Update docs for open and decode command, regenerate all docs ()
* Update docs for open and decode command, regenerate all docs

* Update open.rs

* Update open.md

Co-authored-by: JT <547158+jntrnr@users.noreply.github.com>
2022-03-11 05:39:54 -05:00
0d82d7df60 Update documents for commands ()
* Update documents of commands

* Change plugin names for register command examples

* Remove unused docs [ci skip]
2022-03-09 08:05:35 -05:00
488f81d012 history bang ()
* history bang

* change of char
2022-03-05 09:38:35 +00:00
b714e034aa remove some old documentation, relocate others ()
* remove some old documentation, relocate others

* small tweak to default config
2022-03-04 11:37:08 -05:00
JT
e64ca97fe2 move scope variable into nu variable () 2022-03-04 11:36:11 -05:00
1157fcf372 fix typo, update some examples and regenerate docs () 2022-03-04 06:10:09 -06:00
JT
7d0531d270 Add support for escape characters, make nuon a JSON superset ()
* WIP

* Finish adding escape support in strings

* Try to fix windows
2022-03-03 13:14:03 -05:00
2fd42d25b1 partial completions () 2022-03-03 11:13:44 +02:00
50399c349f relocate default config in sample_config folder ()
* relocate default config in sample_config folder

* relocate config file
2022-03-02 19:22:15 -06:00
JT
96a1bf5f8d Experiment: Allow both $true/true and $false/false ()
* Change true/false to keywords

* oops, clippy

* Both kinds of bools

* Add in some boolean variables

* disable py virtualenv test for now
2022-03-02 19:55:03 -05:00
0da9213de6 document environment variable for starship prompt ()
It would appear that starship needs an environment variable set to output the prompt correctly on a per shell basis.
2022-03-01 18:38:35 -05:00
fef7f38da8 removed decode from pipeline for vivid () 2022-03-01 09:20:02 -06:00
42f1874a3a Update some examples and docs ()
* Update some examples and docs

* Update now.rs

* Update date_now.md

Co-authored-by: JT <547158+jntrnr@users.noreply.github.com>
2022-03-01 08:05:29 -05:00
JT
a6a96b29cb Add binary literals () 2022-02-28 18:31:53 -05:00
e3100e6afd Fix alias in docs/sample_config/config.toml () 2022-02-28 15:47:14 -06:00
0f437589fc add last exit code to starship parameters () 2022-02-27 17:26:15 -06:00
e6570b41ca Fix some examples and regenerate docs, should fix: () 2022-02-25 08:14:15 -05:00
c3979ef1cf Add example for command n,g,p and grid, update date now examples () 2022-02-24 06:17:05 -06:00
d054a724d1 Add example for enter, shells and view-source, update some docs () 2022-02-22 09:16:56 -06:00
b448d1dbe1 fix strip trailing whitespace for make_docs script () 2022-02-22 08:11:46 -05:00
88fa40d698 rename flatshape_* to shape_* () 2022-02-21 12:27:21 -06:00
c0a1d18e3d update , regenerate commands' docs and update make_docs script ()
* feat: update , regenerate commands' docs

* chore: update make_docs script
2022-02-21 11:26:00 -06:00
4f367a59de Strip trailing whitespace in files ()
* Strip trailing whitespace in rs files

* Strip trailing whitespace in toml files

* Strip trailing whitespace in md files

* Strip trailing whitespace in nu files
2022-02-21 08:38:15 -05:00
JT
2ba12afb01 A few fixes to docs generation and default config ()
* A few fixes to docs generation and default config

* A few more fixes
2022-02-20 15:20:41 -05:00
2ecae0ef43 Update , Regenerate all commands' docs () 2022-02-19 19:13:33 -06:00
e5bf56a7dd port post ()
This restores a basic version of the `post` command.
Some source types have been omitted from this first take.
I copied from `fetch` and from `post`@0.40.0.
Part of 
2022-02-18 13:53:10 -05:00
JT
6e733f49bc Require block params ()
* Require block params

* Improve errors
2022-02-17 06:40:24 -05:00
JT
8c0a2d3c15 Auto-generate markdown command docs ()
* Finish updating

* a couple improvements

* Update renames

* cleanup examples
2022-02-13 21:22:51 -05:00
JT
5a1d81221f Move 'nth' into 'select' () 2022-02-09 09:59:40 -05:00
6d303f2ca3 update starship docs () 2022-02-08 13:08:02 -06:00