Other changes:
- Drop support for Python 3.8.
- Test against Python 3.13.
Features:
- Add
pure
theme (:pr:`264`).
Other changes:
- Remove
packaging
andcolorama
as explicit dependencies (:pr:`262`).
Features:
- Ctrl-l clears the screen (:issue:`217`, :pr:`237`). Thanks :user:`Kaligule` for the suggestion and :user:`DvirB10` for the PR.
Support:
- Support Python 3.11 and 3.12.
- Drop support for Python 2 (:issue:`202`), Python 3.6, Python 3.7, IPython 5, IPython 6, IPython 7, and click<8.
Support:
- Support IPython 7 and 8 (:issue:`91`). Thanks :user:`matan129` for the PR.
- Test against Python 3.8, 3.9, and 3.10.
Features:
- Enter and exit "stealth mode" by pressing TAB (:issue:`113`). Thanks :user:`ThinkBriK` for the suggestion and thanks :user:`jlehett` for the implementation.
Bug fixes:
- Fix behavior of
commentecho
when a comment includes quote characters.
- Add
deadsimple
theme (:pr:`97`). Thanks :user:`Aversiste`.
Other changes:
- Test against Python 3.7.
Features:
- Support bright colors in prompt templates.
Bug fixes:
- Fix compatibility with click>=7.0.
Bug fixes:
- Ctrl-Z suspends doitlive (:issue:`44`). Thanks :user:`emanuelhouse` for reporting.
- Fix help text for
--shell
option (:issue:`43`).
- Distribute a universal wheel.
- Minor docs updates.
Features:
- Add shell completion for bash, zsh, and fish (:issue:`3`).
- Add "Did you mean" suggestions.
- Support setting environment variables with
export
commands (:issue:`32`). Thanks :user:`asmacdo` for the suggestion. - Support setting aliases with
alias
commands (:issue:`40`).
Bug fixes:
- Fix exiting a command such as
watch
withctrl-c
during a session (:issue:`29`). Thanks :user:`zigarn` for the catch and patch.
Other changes:
- Drop official support for Python 3.3 and 3.4. Python 2.7 and >=3.5 are supported.
- Lots of internal re-organization of modules.
Bug fixes:
- --quiet options supresses ending message (:issue:`26`). Thanks :user:`technovangelist` for reporting and thanks :user:`PandaWhoCodes` for the PR.
- Fix installation issue on Windows (:issue:`4`). Thanks :user:`eXigentCoder` for reporting.
Bug fixes:
- Fix 'cd-ing' to paths with an envvar (:issue:`24`). Thanks :user:`utdrmac` for reporting.
- Fix behavior of
cd -
- Fix behavior of
Ctrl-C
after all commands have finished.
Bug fixes:
- Fix behavior of Backspace key when speed > 1.
- Handle KeyError when
$HOME
is unset (:issue:`10`). Thanks :user:`Stefan-Code` for reporting.
- Support IPython>=5.0 (:issue:`20`). Drop support for IPython<5.0. Thanks :user:`rplevka` for reporting.
- Use
$SHELL
as the default interpreter for commands if not explicitly specified. - Remove invalid import in
ipython
module. Thanks :user:`axocomm`. - Fix exiting a session with Ctrl-C in Python 3.
Bug fixes:
- Don't allow passing a --speed that is < 1 (:issue:`17`). Thanks :user:`mblhaunted` for reporting and thanks :user:`Stefan-Code` for the implementation suggestion.
Features:
- Add
stev
,damoekri
, andsmiley
themes. - Modify
sorin
theme to be more like the original prezto theme.
Bug fixes:
- Prevent extra spacing when using
{vcs_branch}
,{git_branch}
, or{hg_branch}
in a custom prompt.
Features:
- Prompt template variables can be styled with
.inverse
, e.g.{user.inverse}
. - Prompt templates can include
{nl}
for displaying new-lines. Thanks :user:`andredias`.
Other changes:
- Test against Python 3.6.
Features
- Add ipython mode (:issue:`8`).
Features:
- Backspace key works during playback.
Bug fixes:
- Prevent unicode_literals import warning from click on Python 2 (:issue:`12`, :issue:`13`).
- Fix bug that caused some keystrokes to get echoed instead of swallowed (:issue:`6`). Thanks :user:`jordigh` for reporting.
Other changes:
- Reorganized as a package. Added
termutils
andversion_control
modules.
Big thanks to :user:`Stefan-Code` for implementing these changes.
- Fix bug that showed the incorrect prompt on the last slide if the theme was set using the
#doitlive prompt:
directive.
- Add support for displaying Mercurial VCS info (current branch, bookmark)
- Add
commentecho
CLI option and magic comment. - Add
--quiet
CLI option for suppressing the startup message.
- Fix display of git branches on Python 3 (don't show
b
prefix).
- Add
{TTY}
prompt variable that contains named constants for ANSI escape sequences. - Add "giddie" theme.
- Add
help/H
command to the recorder console.
- Python mode: Fenced code blocks can be played back in a fake Python console.
- Added ability to preview and undo commands during a recorder session.
- Current datetime (
{now}
) can be included in prompt. - Added 'pws' theme.
- Added
--envvar
and--alias
options torecord
command. - Added
unalias
andunset
comment directives.
- Added session recorder (
doitlive record
). - Improved interface.
- Sessions are played with
doitlive play <session_file>
. - Deprecated
doitlive-demo
. Rundoitlive demo
instead. - Deprecated
doitlive --themes
anddoitlive --themes-preview
. Rundoitlive themes
anddoitlive themes --preview
instead. - Fix bug that raised an error when cd'ing into a non-existent directory.
- Remove extra spacing in prompt when not in a git directory.
- Added 'robbyrussell' theme.
- Added themes!
- Prompt variables can have ANSI colors and styles.
{hostname}
can be included in prompt.{git_branch}
can be included in prompt.- Prompt variable
{full_cwd}
renamed to{cwd}
. - Prompt variable
{cwd}
renamed to{dir}
. - Short option for
--speed
is now-s
. - Short option for
--shell
is now-S
. - Changed default prompt.
run
andmagictype
receive prompt_template instead of a prompt function.- Remove unnecessary
PromptState
class.
- Add "speed" config option.
- Fix short option for "--shell".
- Custom prompts are colored.
- Remove unnecessary --check-output option, which was only used for testing.
- Fix bug where cwd would not update in custom prompts.
- Initial release.