dot

packages and services management
Log | Files | Refs | README

commit 20fe081d8aee6acbb1a573812e48135b3e74c69f
parent 5b7a0a2176e7a99b977cbd2206b2e5dc5278c09d
Author: josuah <mail@josuah.net>
Date:   Tue,  3 Jan 2017 16:21:24 +0100

Switching to mblaze...

Diffstat:
M.local/bin/build | 17++++++++---------
M.local/share/build/iomenu | 2+-
M.local/share/build/isync | 2+-
D.local/share/build/s-mailx | 8--------
M.profile | 5++++-
5 files changed, 14 insertions(+), 20 deletions(-)

diff --git a/.local/bin/build b/.local/bin/build @@ -124,14 +124,14 @@ remove() } +# 1: name of the program in "$PROGRAMS" to index in "$LOCAL" + index() { - name="$1" - - info "$name" "updating index in ~${LOCAL#$HOME}" - cd "$PROGRAMS/$name" || exit 1 - find . -type d ! -path "*/src/*" -exec mkdir -p "$LOCAL/{}" \; - find . ! -type d ! -path "*/src/*" -exec ln -sf "$PWD/{}" "$LOCAL/{}" \; + info "$1" "updating index in ~${LOCAL#$HOME}" + cd "$PROGRAMS/$1" || exit 1 + find . -type d ! -path '*/src/*' -exec mkdir -p "$LOCAL/{}" \; + find . ! -type d ! -path '*/src/*' -exec ln -sf "$PWD/{}" "$LOCAL/{}" \; } @@ -159,9 +159,8 @@ main() index "$2" ;; l | link ) - find "$PROGRAMS" ! -name . | while IFS='' read -r name - do - index "${name#$PROGRAMS}" + find "$PROGRAMS" -maxdepth 1 -mindepth 1 | while IFS='' read -r name + do index "${name#$PROGRAMS}" done ;; v | view ) diff --git a/.local/share/build/iomenu b/.local/share/build/iomenu @@ -1,3 +1,3 @@ # Input/Output interactive menu and completion engine. -tar=http://repo.or.cz/iomenu.git/snapshot/0ddab4a350f95ea6704cf4b15e773fbbc3bdecaf.tar.gz +tar=http://repo.or.cz/iomenu.git/snapshot/897502eacc70cb124ff8e86a61f9a3bc4fc15986.tar.gz diff --git a/.local/share/build/isync b/.local/share/build/isync @@ -1,7 +1,7 @@ # Sync IMAP to Maildir tar=http://downloads.sourceforge.net/project/isync/isync -tar="$tar/1.2.1/isync-1.2.1.tar.gz +tar=$tar/1.2.1/isync-1.2.1.tar.gz build() { diff --git a/.local/share/build/s-mailx b/.local/share/build/s-mailx @@ -1,8 +0,0 @@ -# Improved MailX implementation - -tar=http://www.sdaoden.eu/downloads/s-nail-latest.tar.gz - -build() -{ - make CONFIG=MAXIMAL PREFIX="$PREFIX" config install -} diff --git a/.profile b/.profile @@ -34,7 +34,10 @@ export PS1='$( [ $? -eq 0 ] && color=2 || color=1 [ -z "${PWD##$HOME*}" ] && pwd="~${PWD#$HOME}" || pwd="$PWD" - printf "\a\033[?6c\n \033[30;1m%s\033[m" "$pwd" + printf "\033[?6c" # TTY cursor shape + printf "\a" # bell at the end of the command + printf "\033]0;%s\007" "$pwd" # terminal name + printf "\n \033[30;1m%s\033[m" "$pwd" git-prompt printf "\n \033[1;30m>\033[0;3%sm>\033[1m>\033[m " "$color" )'