Commit Graph

1884 Commits

Author SHA1 Message Date
Rashil Gandhi c335b4267b
feat: add support for cmd (#3277)
* feat: add support for cmd

* add preprompt and precmd support

* add keymap support

* add info about minimum Clink version

* simplify escaping

* add handling for cmd custom commands

* add support for transient_prompt and transient_rprompt

* Revert 914057952508e81e20086fcb707ba2a0be85fdd3

This reverts commit "add support for transient_prompt and transient_rprompt"

* Apply suggestions from code review

* disable cmd shell custom commands

* any shell other than cmd can be used

* better error and correct script location

* move shell check in `map_no_escaping`
2022-01-09 23:47:53 -06:00
Tobias 20a78c1153
docs(faq): for uninstalling, change which to command -v (#3394)
* Changed 'which' to 'command -v' which is more general, and available on more systems

* docs: for uninstalling, change which to command -v
2022-01-07 21:53:22 +01:00
moko256 500dc3ea6e
feat(elvish): last command status (#3403) 2022-01-06 22:00:38 +01:00
Matan Kushner 0af31238f6
docs: add missing quote in bracketed preset 2022-01-06 12:17:56 +03:00
dependabot[bot] 2d666fb32f
build: bump clap from 3.0.4 to 3.0.5 (#3398)
Bumps [clap](https://github.com/clap-rs/clap) from 3.0.4 to 3.0.5.
- [Release notes](https://github.com/clap-rs/clap/releases)
- [Changelog](https://github.com/clap-rs/clap/blob/master/CHANGELOG.md)
- [Commits](https://github.com/clap-rs/clap/compare/v3.0.4...v3.0.5)

---
updated-dependencies:
- dependency-name: clap
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-01-06 10:05:46 +03:00
dependabot[bot] 060f4c93b4
build: bump clap_complete from 3.0.0 to 3.0.2 (#3392)
Bumps [clap_complete](https://github.com/clap-rs/clap) from 3.0.0 to 3.0.2.
- [Release notes](https://github.com/clap-rs/clap/releases)
- [Changelog](https://github.com/clap-rs/clap/blob/master/CHANGELOG.md)
- [Commits](https://github.com/clap-rs/clap/compare/clap_complete-v3.0.0...clap_complete-v3.0.2)

---
updated-dependencies:
- dependency-name: clap_complete
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-01-05 11:05:44 +03:00
dependabot[bot] cf30c67298
build: bump clap from 3.0.1 to 3.0.4 (#3393)
Bumps [clap](https://github.com/clap-rs/clap) from 3.0.1 to 3.0.4.
- [Release notes](https://github.com/clap-rs/clap/releases)
- [Changelog](https://github.com/clap-rs/clap/blob/master/CHANGELOG.md)
- [Commits](https://github.com/clap-rs/clap/compare/clap_complete-v3.0.1...v3.0.4)

---
updated-dependencies:
- dependency-name: clap
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-01-05 10:05:48 +03:00
dependabot[bot] 8bd03f4aec
build: bump clap from 2.34.0 to 3.0.1 (#3388)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-01-04 05:31:31 -05:00
David Knaack 20cf200c3a
refactor: update clap to v3 (#3370) 2022-01-04 12:49:42 +03:00
David Knaack 35eae3fb4a
refactor(process_control): switch to new API (#3385) 2022-01-03 09:14:19 -05:00
dependabot[bot] 86be86d729
build: bump process_control from 3.1.0 to 3.2.0 (#3381)
Bumps [process_control](https://github.com/dylni/process_control) from 3.1.0 to 3.2.0.
- [Release notes](https://github.com/dylni/process_control/releases)
- [Commits](https://github.com/dylni/process_control/compare/3.1.0...3.2.0)

---
updated-dependencies:
- dependency-name: process_control
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-01-03 13:05:52 +03:00
dependabot[bot] 09d2b4e903
build: bump toml_edit from 0.12.2 to 0.12.3 (#3384)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-01-03 04:30:59 -05:00
dependabot[bot] 15ee127173
build: bump serde_json from 1.0.73 to 1.0.74 (#3380)
Bumps [serde_json](https://github.com/serde-rs/json) from 1.0.73 to 1.0.74.
- [Release notes](https://github.com/serde-rs/json/releases)
- [Commits](https://github.com/serde-rs/json/compare/v1.0.73...v1.0.74)

---
updated-dependencies:
- dependency-name: serde_json
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-01-03 10:05:51 +03:00
dependabot[bot] ca44656974
build: bump serde from 1.0.132 to 1.0.133 (#3382)
Bumps [serde](https://github.com/serde-rs/serde) from 1.0.132 to 1.0.133.
- [Release notes](https://github.com/serde-rs/serde/releases)
- [Commits](https://github.com/serde-rs/serde/compare/v1.0.132...v1.0.133)

---
updated-dependencies:
- dependency-name: serde
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-01-03 10:05:48 +03:00
Zhong Liu 295948bc6c
feat(package): support for dart pub version (#3373)
* feat(package): add support for dart pub version

* feat(package): add doc for dat pub version
2022-01-01 23:57:20 +01:00
Matan Kushner 800fbec0cf
fix: update continuation prompt to be more minimal (#3374)
Co-authored-by: Kevin Song <chips@ksong.dev>
2022-01-01 14:39:08 -05:00
Ryan Cohen 4deaa02d6f
feat: set a continuation prompt for supporting shells (#3322)
* feat: set a continuation prompt for supporting shells (#3134)

* docs: fixed wording of documentation

* fix: continuation prompt is now only set once

* fix(docs): fixed typo in advanced-config/README.md

Co-authored-by: Segev Finer <segev208@gmail.com>

* fix: update --continuation argument

Co-authored-by: David Knaack <davidkna@users.noreply.github.com>

* fix: updated continuation prompt

- PROMPT2 was fixed to be set only once in zsh.
- `continuation_symbol` and `continuation_format` were removed in
  place of a single variable; `continuation_prompt`.
- The continuation prompt was moved out of the character module.

* fix: ran rustfmt

* docs: updated continuation prompt docs

Co-authored-by: Segev Finer <segev208@gmail.com>
Co-authored-by: David Knaack <davidkna@users.noreply.github.com>
2022-01-01 14:12:11 +01:00
Kevin Song 3f97068538
docs: Update GitHub ISSUE_TEMPLATE (#3366)
Co-authored-by: Matan Kushner <hello@matchai.dev>
2021-12-31 04:06:34 -05:00
David Knaack 2b405042b9
feat(xonsh): support rprompt (#3362) 2021-12-31 08:23:01 +01:00
Ikko Ashimine c5a5fc2820
chore(directory): fix typo (#3364)
seperators -> separators
2021-12-31 08:22:46 +01:00
Kevin Song 23764675c0
docs: Add nu_indicator to doc tables (#3365) 2021-12-31 08:20:53 +01:00
dependabot[bot] 087fab330c
build: bump toml_edit from 0.12.1 to 0.12.2 (#3368)
Bumps [toml_edit](https://github.com/ordian/toml_edit) from 0.12.1 to 0.12.2.
- [Release notes](https://github.com/ordian/toml_edit/releases)
- [Changelog](https://github.com/ordian/toml_edit/blob/master/CHANGELOG.md)
- [Commits](https://github.com/ordian/toml_edit/compare/v0.12.1...v0.12.2)

---
updated-dependencies:
- dependency-name: toml_edit
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-12-31 10:05:25 +03:00
David Knaack 3b7446fdf3
fix(rust): fix overrides on windows and set cwd (#3359) 2021-12-30 18:24:21 -06:00
arcnmx a95332485b
perf(git_status): tweak exec flags to omit unnecessary info (#3287)
* perf(git_status): tweak flags to omit extra info

`git status` can be prohibitively slow on some repos, so allow the
config to influence what flags are passed to git. For instance, if there
is no configured symbol for untracked files, tell git to omit them from
its output. This can easily result in a 2~10x speedup in many cases, but
requires the user to opt-in to hiding information from the prompt.

* docs(git_status): add ignore_submodules option
2021-12-30 15:12:53 -06:00
Segev Finer 1c305c9de7
feat(directory): Windows path formatting via path_slash::PathBufExt (#3157)
* feat: Experimental Windows path formatting via path_slash::PathBufExt

* Rework the slash path conversion into a real PR

* Add a test for convert_slash = false

* Attempt fixing CI failures

* Fix lint and fmt

* Fix docs/config/README.md getting messed up

* Rename convert_slash/from_slash

* Move convert_path_sep calls in tests

* Keep path_vec immutable

* Run rustfmt
2021-12-30 09:57:13 +01:00
Maximous Black f48c7a26cf
feat(deno): detect `deno.json` and `deno.jsonc` (#3220)
* feat(deno): detect `deno.json` and `deno.jsonc`

* update docs

* update tests

* cargo fmt

* revert lockfile changes

* revert doc updates to non-english files

* Restore README.md

* fmt
2021-12-30 09:55:46 +01:00
David Knaack 67cddb616b
fix(elvish): upgrade shell integration for v0.17 (#3310) 2021-12-30 09:49:55 +01:00
Kevin Song 52abffaec6
docs: Fix incorrect variables for hostname module (#3361) 2021-12-30 09:49:21 +01:00
dependabot[bot] 35e5a6f9c8
build: bump toml_edit from 0.12.0 to 0.12.1 (#3360)
Bumps [toml_edit](https://github.com/ordian/toml_edit) from 0.12.0 to 0.12.1.
- [Release notes](https://github.com/ordian/toml_edit/releases)
- [Changelog](https://github.com/ordian/toml_edit/blob/master/CHANGELOG.md)
- [Commits](https://github.com/ordian/toml_edit/compare/v0.12.0...v0.12.1)

---
updated-dependencies:
- dependency-name: toml_edit
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-12-29 14:05:14 +03:00
Denis Cornehl c63e9a71bd
perf(rust): additionally check `rustup default` for faster result. (#3354)
* perf(rust): additionally check `rustup default` for faster result.

After checking directory overrides we were directly falling back to the
relatively slow call to `rustc --version`.

Inserting a call to `rustup default` leads to a quicker response.

* use `context.exec_cmd` instead of `create_command`
2021-12-28 21:10:49 +01:00
dependabot[bot] eaa3cc1875
build: bump mislav/bump-homebrew-formula-action from 1.15 to 1.16 (#3355)
Bumps [mislav/bump-homebrew-formula-action](https://github.com/mislav/bump-homebrew-formula-action) from 1.15 to 1.16.
- [Release notes](https://github.com/mislav/bump-homebrew-formula-action/releases)
- [Commits](https://github.com/mislav/bump-homebrew-formula-action/compare/v1.15...v1.16)

---
updated-dependencies:
- dependency-name: mislav/bump-homebrew-formula-action
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-12-28 10:05:34 +03:00
David Knaack af98f5b8ce
fix: set cwd for command execution (#3309) 2021-12-27 23:56:06 -06:00
dependabot[bot] 19e084e79b
build: bump mislav/bump-homebrew-formula-action from 1.14 to 1.15 (#3352)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-12-27 03:40:40 -05:00
dependabot[bot] 3d0a1244fc
build: bump @vuepress/plugin-google-analytics in /docs (#3350)
Bumps [@vuepress/plugin-google-analytics](https://github.com/vuejs/vuepress/tree/HEAD/packages/@vuepress/plugin-google-analytics) from 1.8.2 to 1.9.5.
- [Release notes](https://github.com/vuejs/vuepress/releases)
- [Changelog](https://github.com/vuejs/vuepress/blob/master/CHANGELOG.md)
- [Commits](https://github.com/vuejs/vuepress/commits/v1.9.5/packages/@vuepress/plugin-google-analytics)

---
updated-dependencies:
- dependency-name: "@vuepress/plugin-google-analytics"
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-12-27 10:07:43 +03:00
dependabot[bot] 0feaffb94c
build: bump vuepress from 1.8.2 to 1.9.5 in /docs (#3351)
Bumps [vuepress](https://github.com/vuejs/vuepress/tree/HEAD/packages/vuepress) from 1.8.2 to 1.9.5.
- [Release notes](https://github.com/vuejs/vuepress/releases)
- [Changelog](https://github.com/vuejs/vuepress/blob/master/CHANGELOG.md)
- [Commits](https://github.com/vuejs/vuepress/commits/v1.9.5/packages/vuepress)

---
updated-dependencies:
- dependency-name: vuepress
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-12-27 09:05:57 +03:00
Zhong Liu 8d0cebdcbd
fix(dart): detect version output in stdout with dart 2.15+ (#3349) 2021-12-24 09:43:07 -05:00
dependabot[bot] 10e8912159
build: bump mislav/bump-homebrew-formula-action from 1.13 to 1.14 (#3348)
Bumps [mislav/bump-homebrew-formula-action](https://github.com/mislav/bump-homebrew-formula-action) from 1.13 to 1.14.
- [Release notes](https://github.com/mislav/bump-homebrew-formula-action/releases)
- [Commits](https://github.com/mislav/bump-homebrew-formula-action/compare/v1.13...v1.14)

---
updated-dependencies:
- dependency-name: mislav/bump-homebrew-formula-action
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-12-24 00:18:46 -06:00
Martin Dixon fffc7561f6
fix: typo in FAQ page (#3347) 2021-12-23 16:03:51 +01:00
dependabot[bot] 2653b5ed13
build: bump os_info from 3.0.8 to 3.0.9 (#3345)
Bumps [os_info](https://github.com/stanislav-tkach/os_info) from 3.0.8 to 3.0.9.
- [Release notes](https://github.com/stanislav-tkach/os_info/releases)
- [Changelog](https://github.com/stanislav-tkach/os_info/blob/master/CHANGELOG.md)
- [Commits](https://github.com/stanislav-tkach/os_info/compare/v3.0.8...v3.0.9)

---
updated-dependencies:
- dependency-name: os_info
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-12-22 10:05:26 +03:00
Matan Kushner 9a4b2bb536
chore(release): v1.1.1 2021-12-21 23:06:15 +03:00
Matan Kushner 8f84f7cf88
ci: use the default macOS SDK at build time 2021-12-21 23:05:49 +03:00
Matan Kushner af049d5bc9
chore(release): v1.1.0 2021-12-21 18:13:22 +03:00
Matan Kushner 7e45d645b6
docs: update Algolia API key and appId 2021-12-21 17:58:41 +03:00
Mika Fischer cb40787e2a
feat(status): Add hex_status (#3312) 2021-12-21 05:05:28 -05:00
Matan Kushner 16af0ffcd6
chore: rename flag-in.png → flag-id.png 2021-12-21 12:32:48 +03:00
Matan Kushner 1cc83254d9
docs(i18n): add Indonesian and Italian docs (#3339) 2021-12-21 04:30:59 -05:00
Matan Kushner f3a840c621
docs(i18n): new Crowdin updates (#3338) 2021-12-21 04:30:45 -05:00
dependabot[bot] a0cb98cc20
build: bump mislav/bump-homebrew-formula-action from 1.12 to 1.13 (#3342)
Bumps [mislav/bump-homebrew-formula-action](https://github.com/mislav/bump-homebrew-formula-action) from 1.12 to 1.13.
- [Release notes](https://github.com/mislav/bump-homebrew-formula-action/releases)
- [Commits](https://github.com/mislav/bump-homebrew-formula-action/compare/v1.12...v1.13)

---
updated-dependencies:
- dependency-name: mislav/bump-homebrew-formula-action
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-12-21 10:05:35 +03:00
Lucien Fiorini a8579d6f2f
fix: Display durations of 0ms (#3121)
Previous code would render all components as empty, resulting
in an empty string even if min_time was 0. This adds a special
case which forces prompt to render "0ms"
2021-12-20 15:58:25 -06:00
Matan Kushner d0a6ce7faa
docs(i18n): new Crowdin updates (#3337) 2021-12-20 16:42:03 -05:00