Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
history: work around broken timestamps in HISTFILE
- Loading branch information
1 parent
4d24f84
commit 5ef28eb
Showing
5 changed files
with
262 additions
and
38 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
# bashrc -*- mode: sh; mode: sh-bash -*- | ||
|
||
if [[ ! -f out/ble.sh ]]; then | ||
echo 'memo/D1831.bashrc: out/ble.sh not found.' >&2 | ||
return 2 | ||
fi | ||
|
||
cp -f memo/D1831.history{,.tmp} | ||
HISTFILE=$PWD/memo/D1831.history.tmp | ||
HISTFILESIZE= | ||
HISTSIZE= | ||
HISTTIMEFORMAT=%s | ||
source out/ble.sh --norc -o vbell_duration=5000 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
#1656625044 | ||
echo 1 | ||
#1656625044 | ||
echo 2 | ||
#1647948811646449694 | ||
echo a | ||
#1656625044 | ||
echo b | ||
#1656625044 | ||
echo c |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.