DEV Community

Marcin Wosinek
Marcin Wosinek

Posted on

Basic profile for asciiname recording

If you spend a lot of time in terminal, your prompt is probably heavily customized. asciinema a great terminal recording tool, by default is picking up your normal configuration - which is not perfect, because probably while recording a session, you don't want to distract people with unrelated details.

I use zsh, and if I want to avoid clutter I would have to do a bit of clean up at the beginning of each recording:

You can easily address it by setting up configuration in ~/.config/asciinema/config, that contains:

[record]
; Command to record, default: $SHELL
command = /bin/sh
Enter fullscreen mode Exit fullscreen mode

this makes asciinema session start with sh shell, a most likely have no customization on your system, and gives distraction-free prompt by default:

Top comments (0)