|
@@ -17,6 +17,8 @@ bb() {
|
17
|
17
|
#
|
18
|
18
|
# Ring the bell
|
19
|
19
|
#
|
|
20
|
+ local stime=${1:-0}
|
|
21
|
+ sleep "$stime"
|
20
|
22
|
printf '\a'
|
21
|
23
|
}
|
22
|
24
|
|
|
@@ -256,18 +258,6 @@ fixnl() {
|
256
|
258
|
rm "$cache"
|
257
|
259
|
}
|
258
|
260
|
|
259
|
|
-mdvimb() {
|
260
|
|
- #
|
261
|
|
- # Open Markdown file in Vimb (no junk)
|
262
|
|
- #
|
263
|
|
- local file=$1; shift
|
264
|
|
- case $file in
|
265
|
|
- "") Markdown | vimb - "$@" ;;
|
266
|
|
- -) Markdown | vimb - "$@" ;;
|
267
|
|
- *) Markdown < "$file" | vimb - "$@"
|
268
|
|
- esac
|
269
|
|
-}
|
270
|
|
-
|
271
|
261
|
nlfor() {
|
272
|
262
|
#
|
273
|
263
|
# Replace $1 (or blank space) with newlines and fix final newline
|
|
@@ -505,6 +495,8 @@ export LESS=' -R '
|
505
|
495
|
export PRETTY=color
|
506
|
496
|
export PRETTY_DEBUG_EXCLUDE=inigrep
|
507
|
497
|
|
|
498
|
+export MDVIMB__CONVERTER=commonmark
|
|
499
|
+
|
508
|
500
|
#shellcheck disable=SC2034
|
509
|
501
|
{
|
510
|
502
|
GIT_PS1_SHOWDIRTYSTATE=true
|