Commit Graph

2273 Commits

Author SHA1 Message Date
Kevin Song 0e82c19f37
feat: Implement a two-phase init which allows us to write normal init scripts (#168)
Implement a two-phase init procedure in starship. The first phase causes the shell to source a subshell, while the second phase (in the subshell) prints the main init script.

This allows us to have nice init scripts with good styling, comments, and no pile of semicolons. Even better, it works as a drop-in replacement, so we don't need to update the docs.
2019-08-19 18:44:53 -07:00
Matan Kushner 2e39c6d0fa
docs: Small README.md fixes 2019-08-19 15:50:36 -04:00
Saghm Rossi 7240a81e98 chore(deps): Update `crossbeam-epoch` dependency (#200) 2019-08-19 13:55:41 -04:00
Matan Kushner 7f7d77b3d9 chore: Add labels to issue templates 2019-08-19 13:00:32 -04:00
dependabot-preview[bot] 5b3641e50b chore(deps): Bump pretty_env_logger from 0.3.0 to 0.3.1 (#195)
Bumps [pretty_env_logger](https://github.com/seanmonstar/pretty-env-logger) from 0.3.0 to 0.3.1.
- [Release notes](https://github.com/seanmonstar/pretty-env-logger/releases)
- [Commits](https://github.com/seanmonstar/pretty-env-logger/compare/v0.3.0...v0.3.1)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-08-19 11:51:55 -04:00
Matan Kushner b39d31aaa7
chore(bump): v0.11.0 2019-08-19 11:18:00 -04:00
Kevin Song a8a553578b docs: Add AUR install instructions (#187) 2019-08-19 11:10:25 -04:00
allcontributors[bot] a965b2587d docs: add iamsauravsharma as a contributor (#189) 2019-08-18 22:02:39 -07:00
Saurav Sharma f54322f2ab feat: Add configuration for reordering the prompt module and disabling default order (#171)
Adds functionality for reordering the prompt module through the use of the prompt_order configuration option in starship.toml
2019-08-18 21:35:11 -07:00
allcontributors[bot] 51f723df22 docs: add iamsauravsharma as a contributor (#186) 2019-08-18 21:14:28 -07:00
Saurav Sharma 664df257bf fix: Solve bash & zsh cursor location confusion issue (#183)
Solves the issue of cursor location confusion on bash and zsh (#110) . Solution: modify ANSIString and wrap non-printing characters with correct escape sequences.
2019-08-18 20:33:12 -07:00
Matan Kushner f7a77edb35
docs: Update setup instructions on landing page (#184) 2019-08-18 13:45:36 -04:00
John Merchant 5af70b9699 fix: Fix directory_in_root integration test on Windows (#181) 2019-08-18 11:55:45 -04:00
Kevin Song 85ac0a6801 fix: Set default prompt character to ❯ (#177) 2019-08-18 11:34:45 -04:00
Kevin Song 572a07c72d fix: Correct broken zsh init in absence of precmd_functions (#180) 2019-08-18 07:07:38 -04:00
Saghm Rossi dfe2ae643a fix a few typos (#178) 2019-08-17 20:50:42 -07:00
Kevin Song 8782e300fc
feat: Allow bash users to specify a precmd function (#166)
Allows bash users to run a function before the shell is drawn, by defining a function and setting its name equal to starship_precmd_user_func.
2019-08-17 16:53:59 -07:00
Matan Kushner 7475c3dd72
docs: Small doc touch-ups (#176) 2019-08-17 16:38:20 -04:00
allcontributors[bot] 421d22ed5c docs: add cappyzawa as a contributor (#175) 2019-08-17 16:03:26 -04:00
Shu Kutsuzawa d90c43b8b1 feat: Display Vi mode as PROMPT (#169)
Add Vi-mode indicator for zsh
2019-08-17 12:33:19 -07:00
Matan Kushner 9c213b36b0
docs: Update the all-contributors badge 2019-08-17 12:47:01 -04:00
allcontributors[bot] 3b8d7c040b docs: add saghm as a contributor (#167) 2019-08-17 00:16:22 -04:00
Saghm Rossi 84c394e7b0 feat: Add option to control git directory truncation (#165) 2019-08-16 20:29:22 -07:00
Matan Kushner d065dff695
chore(bump): v0.10.1 2019-08-16 15:04:12 -04:00
Bruno Bigras 7124e353db fix: Fix compilation on NixOS with sandboxing (#164) 2019-08-16 15:01:09 -04:00
Saghm Rossi 5ad07bf2d9 docs: Fix typo in directory module description (#163) 2019-08-16 14:16:29 -04:00
Matan Kushner 6c62c427ea
chore(bump): v0.10.0 2019-08-16 13:27:30 -04:00
Kevin Lane e262187f4c feat: Display Python package version from poetry (#153) 2019-08-15 16:41:06 -04:00
Kevin Song e250e71019 fix: Don't run tests for ruby outside of the integration tests (#155) 2019-08-14 21:50:25 -04:00
Matan Kushner 717ee3339e
chore: Delete empty test file 2019-08-14 13:31:36 -04:00
dependabot-preview[bot] 3f4bd493d4 chore(deps): Bump toml from 0.5.1 to 0.5.3 (#151)
Bumps [toml](https://github.com/alexcrichton/toml-rs) from 0.5.1 to 0.5.3.
- [Release notes](https://github.com/alexcrichton/toml-rs/releases)
- [Commits](https://github.com/alexcrichton/toml-rs/compare/0.5.1...0.5.3)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-08-14 11:28:07 -04:00
Linus Unnebäck 8671fe89db docs: Fix typo in Ruby module description (#152) 2019-08-14 11:27:38 -04:00
allcontributors[bot] 0f1018e6fb docs: add AZanellato as a contributor (#150) 2019-08-14 10:50:11 -04:00
Kevin Song 22c8c3459f feat: implement `cmd_duration` for bash (#144) 2019-08-13 22:49:47 -04:00
Matan Kushner 56f4797a25
fix: Fix issues with the init script for login shells (#147) 2019-08-13 22:38:17 -04:00
Matan Kushner c5404e0495
ci: Remove remaining reference to bump brew formula 2019-08-13 19:42:25 -04:00
Matan Kushner eb9c19dfe0
ci: Remove brew bump formula from CI 2019-08-13 19:41:42 -04:00
Matan Kushner 03f99e18da
chore(bump): v0.9.1 2019-08-13 19:25:23 -04:00
Matan Kushner 6be33284a6
ci: export the Homebrew GitHub API token 2019-08-13 19:25:00 -04:00
Matan Kushner 95401c688f
chore(bump): v0.9.0 2019-08-13 18:44:26 -04:00
André Zanellato b06249d61c feat: implement the ruby module (#131) 2019-08-13 18:43:29 -04:00
Matan Kushner f10bfe4616
chore(bump): v0.8.7 2019-08-13 15:08:52 -04:00
Matan Kushner d296432908
fix: Fix exception caused by the golang module
Fixes #148
2019-08-13 15:06:10 -04:00
Matan Kushner bab69c01c4
chore(bump): v0.8.6 2019-08-13 14:59:00 -04:00
Matan Kushner abf5311664
ci: Use the credential.helper config for git 2019-08-13 14:58:36 -04:00
Matan Kushner 6c120dcd2f
chore(bump): v0.8.5 2019-08-13 12:31:47 -04:00
Matan Kushner 7424e9674c
fix: Fix issues with nodejs and golang configuration (#146)
* fix: Give all modules a single name
* test: Add missing config tests for nodejs and golang
* test: Rename dir to directory
2019-08-13 12:30:59 -04:00
Matan Kushner 589b6cf712
chore(bump): v0.8.4 2019-08-12 23:42:59 -04:00
Matan Kushner 4c26bf06e9
ci: Update Homebrew token storage 2019-08-12 23:42:14 -04:00
Kevin Song a87c0750cc fix: Fix issue with jobs and extra whitespace on MacOS with BSD… (#145)
MacOS wc has a habit of leaving nasty spaces in the output, which was
messing up our argparser.

To fix, quote the output from the jobs command, then have Rust trim out
whitespace in the jobs module before parsing.
2019-08-12 23:41:59 -04:00