You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I depend on a Bash 4+ shellscript in my $PS1, which crashed when using ttyrec. Bash 4+ is in my path, but not set as my $SHELL - on Mac OS X 10.10 Yosemite, the default $SHELL is /bin/bash (v3.2.53).
In order to get ttyrec to work, I used SHELL=/usr/local/bin/bash ttyrec myrecording.
sw_vers
# ProductName: Mac OS X# ProductVersion: 10.10.1# BuildVersion: 14B25echo"$SHELL"# /bin/bash
/bin/bash --version
# GNU bash, version 3.2.53(1)-release (x86_64-apple-darwin14)# Copyright (C) 2007 Free Software Foundation, Inc.
which bash
# /usr/local/bin/bash
/usr/local/bin/bash --version
# GNU bash, version 4.3.33(1)-release (x86_64-apple-darwin14.1.0)# Copyright (C) 2013 Free Software Foundation, Inc.# License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>## This is free software; you are free to change and redistribute it.# There is NO WARRANTY, to the extent permitted by law.# Since `ttyrec` uses `getenv("SHELL")`, set SHELL for this execution:
SHELL=/usr/local/bin/bash ttyrec myrecording
Thanks!
The text was updated successfully, but these errors were encountered:
Update: using shell-keystroke-animator instead -- see examples below.
I depend on a Bash 4+ shellscript in my
$PS1
, which crashed when usingttyrec
. Bash 4+ is in my path, but not set as my$SHELL
- on Mac OS X 10.10 Yosemite, the default$SHELL
is/bin/bash
(v3.2.53).In order to get
ttyrec
to work, I usedSHELL=/usr/local/bin/bash ttyrec myrecording
.Thanks!
The text was updated successfully, but these errors were encountered: