9fb6f5cd09
Change f
/full
flag to l
/long
for ls
and ps
commands ( #2283 )
...
* Change `f`/`full` flag to `l`/`long` for `ls` and `ps` commands
* Fix a few more `--full` instances
2020-08-02 06:30:45 +12:00
4ef15b5f80
docs/alias: simplify the 'persistent' section, using --save ( #2285 )
...
All the workarounds using `config` aren't necessary anymore. Only `config path` is still of interest.
2020-08-01 08:11:26 -04:00
ba81278ffd
Remove build.rs and nu-build ( #2282 )
2020-08-01 09:21:10 +12:00
10fbed3808
updated cmd builtin commands ( #2266 )
...
* updated cmd builtin commands
* removed cd, chdir, exit, prompt, rem
* remove more commands, what remains is useful
* cargo fmt is so finicky
2020-07-31 09:51:42 +12:00
16cfc36aec
set default edit_mode to emacs instead of vi ( #2278 )
2020-07-30 14:59:20 -05:00
aca7f71737
🐛 Fix path
command error messages ( #2261 ). ( #2276 )
2020-07-31 06:51:14 +12:00
3282a509a9
Make insert take in a block ( #2265 )
...
* Make insert take in a block
* Add some tests
2020-07-30 16:58:54 +12:00
878b748a41
Add list output for to html
( #2273 )
2020-07-30 16:54:55 +12:00
18a4505b9b
starts_with ends_with match functions for string ( #2269 )
2020-07-30 16:51:20 +12:00
26e77a4b05
Add url commands ( #2274 )
...
* scheme
* path
* query
* host
2020-07-30 08:56:56 +12:00
37f10cf273
Add two further path cmds - type and exists ( #2264 )
...
* Add two further path cmds - type and exists
* Update type.rs
Try a more universal directory
* Update type.rs
Co-authored-by: Jonathan Turner <jonathandturner@users.noreply.github.com >
2020-07-27 14:12:07 +12:00
5e0a9aecaa
ltrim and rtrim for string ( #2262 )
...
* Trim string from left and right
* Move trim to folder
* fmt
* Clippy
2020-07-27 06:09:35 +12:00
7e2c627044
WIP: Path utility commands ( #2255 )
...
* Add new path commands
basename, expand and extension. Currently there is no real error
handling. expand returns the initial path if it didn't work, the others
return empty string
* Optionally apply to path
2020-07-26 07:29:15 +12:00
4347339e9a
Make all bullet point items uppercase ( #2257 )
2020-07-26 06:15:12 +12:00
e66a8258ec
add example to parse command, with row output ( #2256 )
2020-07-26 06:14:29 +12:00
e4b42b54ad
Simplify NuCompleter. ( #2254 )
...
- Removing old code for dealing with escaping, since that has moved elsewhere.
- Eliminating some match statements in favour of result/option methods.
- Fix an issue where completing inside quotes could remove the quote at the
beginning, if one already existed on the line but the replacement didn't have
a quote at the beginning.
2020-07-25 10:41:14 -04:00
de18b9ca2c
Match cleanup ( #2248 )
2020-07-25 08:40:35 -04:00
a77f0f7b41
to-xml.md
documentation update (#2253 )
...
* Update to-xml.md documentation to be consistent
* Capitalize bullet point items
* Add link to this document wthin `to.md`
2020-07-25 20:19:15 +12:00
6b31a006b8
Refactor all completion logic into NuCompleter
( #2252 )
...
* Refactor all completion logic into `NuCompleter`
This is the next step to improving completions. Previously, completion logic was
scattered about (`FilesystemShell`, `NuCompleter`, `Helper`, and `ShellManager`).
By unifying the core logic into a central location, it will be easier to take the
next steps in improving completion.
* Update context.rs
Co-authored-by: Jonathan Turner <jonathandturner@users.noreply.github.com >
2020-07-25 11:39:12 +12:00
2db4fe83d8
Remove unnecessary peekable iterator ( #2251 )
2020-07-24 12:06:12 -04:00
55a2f284d9
✨ Add to xml
command ( #2141 ) ( #2155 )
2020-07-24 19:41:22 +12:00
2d3b1e090a
Remove piping of stderr. ( #2247 )
...
In any other shell, stderr is inherited like normal, and only piped if you
request it explicitly (e.g., `2>/dev/null`). In the case of a command like
`fzf`, stderr is used for the interactive selection of files. By piping it,
something like
fzf | xargs echo
does not work. By removing all stderr piping we eliminate this issue. We can
return later with a way to deal with stderr piping when an actual use case
arises.
2020-07-24 17:56:50 +12:00
ed0c1038e3
Step 1 for to html theme-ing ( #2245 )
...
* reworked theming step 1.
added theme parameter.
hard coded 4 themes
* forgot about blulocolight
* aarrrrg! test are in another place. fixed i think.
2020-07-23 13:21:58 -05:00
0c20282200
added documentation of available binding options ( #2246 )
...
straight from the rustyline source code
2020-07-23 13:13:06 -05:00
e71f44d26f
if config file doesn't exist, set defaults. ( #2244 )
...
if line_editor in config doesn't exist, set defaults.
2020-07-23 08:27:45 -05:00
e3d7e46855
added defaults. fixed but of not loading history. ( #2243 )
2020-07-23 07:19:05 -05:00
9b35aae5e8
update sample configs ( #2242 )
...
* update sample configs
* change rustyline to line_editor
2020-07-23 06:49:25 -05:00
7e9f87c57f
Expose all rustyline configuration points ( #2238 )
...
* Added all rustyline config points
* comments cleanup
* my good friend fmt keeps changing his mind
2020-07-23 09:43:52 +12:00
5d17b72852
update config documentation ( #2178 )
...
* update config documentation
* update config syntax
* update config syntax
* Update alias.md
Co-authored-by: Jonathan Turner <jonathandturner@users.noreply.github.com >
2020-07-23 09:42:04 +12:00
6b4634b293
Convert table of primitives to positional arguments for external cmd ( #2232 )
...
* Convert table of primitives to positional arguments for external cmd
* Multiple file test, fix for cococo
2020-07-23 09:41:34 +12:00
2a084fc838
Bump to 0.17.0 ( #2237 )
0.17.0
2020-07-22 06:41:49 +12:00
a36d2a1586
Revert "hopefully the final fix for history ( #2222 )" ( #2235 )
...
This reverts commit 6829ad7a30
.
2020-07-21 18:19:04 +12:00
32b875ada9
sample config settigns ( #2233 )
2020-07-20 21:15:58 -05:00
aaed9c4e8a
added ansi example ( #2230 )
...
* added ansi example
* added strcollect to example
2020-07-20 18:33:39 -05:00
b9278bdfe1
Char example ( #2231 )
...
* added ansi example
* added another example
* changed example
* ansi changes here by mistake
2020-07-20 14:25:38 -05:00
6eb2c94209
Add flag for case-insensitive sort-by ( #2225 )
...
* Add flag for case-insensitive sort-by
* Fix test names
* Fix documentation comments
2020-07-21 05:31:58 +12:00
7b1a15b223
Campbell colors ( #2219 )
...
* added campbell theme to html colors
* updated test results. had to make change for ci.
* hopefully the last changes for this stupid test :)
* moved tests to html.rs
* remove unnecessary using statement.
* still fighting with tests and tests are winning.
2020-07-20 07:57:29 -05:00
836efd237c
fix internal command parsing (args.is_last) ( #2224 )
2020-07-20 05:49:40 +12:00
aad3cca793
Add benchmark command ( #2223 )
2020-07-20 05:39:43 +12:00
6829ad7a30
hopefully the final fix for history ( #2222 )
2020-07-19 07:47:55 -05:00
1f0962eb08
Add some tests for parse_arg
( #2220 )
...
* add some tests for parse
* Format
* fix warnings
2020-07-19 19:12:56 +12:00
c65acc174d
Add hex pretty print to 'to html' ( #2221 )
2020-07-19 16:44:15 +12:00
2dea392e40
Add hex pretty print to 'to html' ( #2217 )
2020-07-19 12:14:40 +12:00
0c43a4d04b
Add hex pretty print to 'to html' ( #2216 )
2020-07-19 10:12:17 +12:00
ebc2d40875
Expose more registry APIs ( #2215 )
2020-07-19 06:01:05 +12:00
3432078e77
Fix uniq to work with simple values ( #2214 )
2020-07-19 05:19:03 +12:00
9e5170b3dc
Clean up lines command ( #2207 )
2020-07-19 05:17:56 +12:00
0ae7c5d836
Fix if description ( #2204 ) ( #2213 )
2020-07-19 05:16:35 +12:00
d0712a00f4
made it easier to change colors ( #2212 )
...
* made it easier to change colors
and the beginning of html theming
* fmt
2020-07-18 11:05:45 -05:00
5e722181cb
Export more defs from nu-cli ( #2205 )
2020-07-18 16:47:03 +12:00