dot

packages and services management
Log | Files | Refs | README

commit 3b6f2c762042dd329563358db0ad4845fc29862e
parent 8b0a68f353609f9924a7dacb1ee7e6ef601fb3cb
Author: Josuah Demangeon <mail@josuah.net>
Date:   Wed, 22 Nov 2017 16:24:33 +0100

fix twt typo, remove duplicate newlines, increase search depth

Diffstat:
Mbin/adagio | 4----
Mbin/twt | 2+-
Mdot/bashrc | 2+-
Mdot/exrc | 2++
4 files changed, 4 insertions(+), 6 deletions(-)

diff --git a/bin/adagio b/bin/adagio @@ -1,7 +1,6 @@ #!/bin/sh # Albinoni, Adagio fog G minor adapted to 'beep' - # notes frequencies C0=16 Cd0=17 Db0=17 D0=18 Dd0=19 Eb0=19 E0=21 F0=22 Fd0=23 @@ -23,7 +22,6 @@ Gb7=2960 G7=3136 Gd7=3322 Ab7=3322 A7=3520 Ad7=3729 Bb7=3729 B7=3951 C8=4186 Cd8=4435 Db8=4435 D8=4699 Dd8=4978 Eb8=4978 E8=5274 F8=5588 Fd8=5920 Gb8=5920 G8=6272 Gd8=6645 Ab8=6645 A8=7040 Ad8=7459 Bb8=7459 B8=7902 - # music score # with $n the note from above, and $d the duration in millisecond. @@ -221,7 +219,6 @@ n="$n $G4 $Ad4 $D5 $G5 $Ad5 $G5 $D5 $Ad4 $D5 $G5 $Ad5 $G5 $Ad5 $D6 $G6 " d="$d 8 7 6 5 4 4 4 4 5 6 7 7 8 10 24 " # - main() { printf '%s' "$d" | sed -re 's/^ *//' -e 's/ *$//' -e 's/ +/\n/g' | @@ -234,5 +231,4 @@ main() done } - main "$@" diff --git a/bin/twt b/bin/twt @@ -125,7 +125,7 @@ case "$1" in ;; (update) while read -r usr url - do curl -m 10 -#L "$url" > "$CACHE/$usr" || rm "$TWT_CACHE/$usr" & + do curl -m 10 -#L "$url" > "$CACHE/$usr" || rm "$CACHE/$usr" & done < "$CONF" wait ;; diff --git a/dot/bashrc b/dot/bashrc @@ -9,6 +9,6 @@ alias cl='printf "\033[H\033[2J"' alias blih="blih -u $BLIH" alias p='p=$(io-ps)' alias s='git status -s --branch' -alias c='cd "$(find . -maxdepth 4 -name .git -prune -o -type d | iomenu)"' +alias c='cd "$(find . -maxdepth 5 -name .git -prune -o -type d | iomenu)"' alias f='f=$(io-find)' alias l='ls -Alp' diff --git a/dot/exrc b/dot/exrc @@ -1,2 +1,4 @@ set ruler +set showmatch map g 1G +map q :q