Skip to content

Releases: chrisant996/clink-flex-prompt

v0.7

06 Jan 07:32
Compare
Choose a tag to compare
  • Added {modmark} module to show an indicator when the current input line is a modified history entry. This is shown under the same conditions when Readline (and bash) would show their "modmark".
  • Added {keymap} module to show the current keymap (emacs or one of the vi modes).
  • Added {histlabel} module to show the current %CLINK_HISTORY_LABEL%, if any (which indicates an alternate saved history is used).
  • Added tenths arg to the {duration} module, to include tenths of seconds in the duration.
  • Added default Ctrl+Alt+T key binding to toggle showing tenths of seconds in the {duration} module.
  • When Unicode characters are being used and icons are enabled, then the {git} and {vpn} modules show a "busy" icon while they're refreshing in the background. The modules show their normal module icons once they've finishing refreshing.
  • Fixed the flexprompt configure wizard to again include the {battery} module by default (v0.5 accidentally broke that).
  • Fixed missing module icon for the {user} module.

v0.6

05 Dec 22:17
Compare
Choose a tag to compare
  • Added vpn module that shows the current Windows VPN or dialup connection.
  • Added overtype module that shows the current overtype/insert mode.
  • The time in the time module is only updated when starting to edit a new command line, so that for example toggling overtype/insert mode doesn't update the time in the current prompt.
  • Changed the hex argument in exit module; now it controls whether hex is used for exit codes from 256 to 32767, and hex is always used for exit codes 32768 and higher.
  • Improved exit code color contrast in exit module.

v0.5

24 Sep 08:25
Compare
Choose a tag to compare

Added

  • Added format arg to the duration module.
  • The "connector" separator style works in lean, classic, and rainbow styles.

Changed

  • Duration module defaults to only showing durations 3 or more seconds long.
  • When 8 bit color is available, use custom colors for consistency. If you want to use colors from your current console theme, then answer No to the wizard's question about letters being readable with a smooth gradient of colors.
  • Some internal capabilities that will be documented later.

Fixed

  • Fixed broken separators in the rainbow style.
  • Fixed wizard to set up the time module properly.
  • Fixed some script errors.
  • Fixed the "connector" separator style.
  • Various other fixes.

v0.4

18 Sep 23:28
Compare
Choose a tag to compare

Added

  • Added flexprompt.settings.git_fetch_interval to run git fetch periodically.
  • The git module indicates when a branch has not yet been published (with an icon and a color).
  • Shows brief info/help when running flexprompt by itself (vs flexprompt configure).

Changed

  • Improved how wizard configures usage of Powerline characters, Unicode, etc.
  • Moved built-in prompt modules to a separate file to make it easier to see how to write your own modules.
  • Documentation updates (documentation is still very incomplete).

Fixed

  • Fixed minor bugs in the wizard.
  • Fixed separators color in "lean" style (when using custom separators).
  • On Clink v1.2.30 and higher, the duration value is more accurate (previously it could report "1" even when only a fraction of a second had passed, and it stopped working completely if Clink stayed running for 24+ days).

v0.3

09 Sep 09:23
Compare
Choose a tag to compare
  • Wizard asks whether to include icons.
  • Various fixes.
  • Internal improvements.

v0.2

08 Sep 05:00
Compare
Choose a tag to compare
  • Fixed several bugs.
  • The wizard checks whether 8 bit color is available.

v0.1

07 Sep 07:40
Compare
Choose a tag to compare

Initial release.

Download the clink-flex-prompt-0.1.zip file and extract the files to your Clink scripts directory (use clink info to find it if you're not sure where it is).