dot

packages and services management
Log | Files | Refs | README

commit 6babac65cdcc3f8ebb0efbc83e73b1aff76a5df0
parent 1e8bbb6be371931daca928b9f1f6db1ff283468f
Author: josuah <mail@josuah.net>
Date:   Thu, 13 Oct 2016 22:43:41 -0400

Added ctags and MANDOC!

Diffstat:
ABUILD/ctags | 3+++
DBUILD/libutf | 3---
ABUILD/mdocml | 19+++++++++++++++++++
Mbin/config-build | 17++++++++++-------
Rs-mailx/.mailrc -> mail/.mailrc | 0
Risync/.mbsyncrc -> mail/.mbsyncrc | 0
Rmsmtp/.msmtprc -> mail/.msmtprc | 0
Mshell/.profile | 4++--
8 files changed, 34 insertions(+), 12 deletions(-)

diff --git a/BUILD/ctags b/BUILD/ctags @@ -0,0 +1,3 @@ +# Exuberant Ctags + +tar=http://prdownloads.sourceforge.net/ctags/ctags-5.8.tar.gz diff --git a/BUILD/libutf b/BUILD/libutf @@ -1,3 +0,0 @@ -# Plan-9 C89 UTF-8 library - -tar=http://github.com/cls/libutf/archive/master.tar.gz diff --git a/BUILD/mdocml b/BUILD/mdocml @@ -0,0 +1,19 @@ +# UNIX manpage compiler + +tar=http://mdocml.bsd.lv/snapshots/mdocml.tar.gz + +build() +{ + tee configure.local << EOF +PREFIX="$LOCAL" +BINDIR="${PREFIX}/bin" +SBINDIR="${PREFIX}/sbin" +INCLUDEDIR="${PREFIX}/include/mandoc" +LIBDIR="${PREFIX}/lib/mandoc" +MANDIR="${PREFIX}/man" +EOF + + ./configure + + make install +} diff --git a/bin/config-build b/bin/config-build @@ -14,7 +14,8 @@ CONFIG="${CONFIG:-$HOME/Config}" help() { - printf '%s\n' " + { + printf '%s\n' " Usage: ${0##*-} COMMAND PACKAGE COMMAND @@ -25,13 +26,15 @@ COMMAND l[ink] Update links from ~${PROGRAMS#$HOME} to ~${PREFIX#$HOME} PACKAGE" - find "$CONFIG/BUILD" -type f | while read file - do - name="${file#$CONFIG/BUILD/}" + find "$CONFIG/BUILD" -type f | while read file + do + name="${file#$CONFIG/BUILD/}" + + printf '\t%-12s ' "$name" + sed 's/^# //; q' "$file" + done | sort + } | more - printf '\t%-12s ' "$name" - sed 's/^# //; q' "$file" - done | sort | more exit 0 } diff --git a/s-mailx/.mailrc b/mail/.mailrc diff --git a/isync/.mbsyncrc b/mail/.mbsyncrc diff --git a/msmtp/.msmtprc b/mail/.msmtprc diff --git a/shell/.profile b/shell/.profile @@ -89,7 +89,7 @@ alias ll='l -lh' alias la='l -A' alias lla='l -Alh' alias v='$VISUAL' -alias p='$PAGER' +alias m='$PAGER' alias t='tmux attach &>/dev/null || tmux new' alias f='find . -type f ! -path "*/.git/*" | fzf --margin=3,6' alias d='find . -type d ! -path "*/.git/*" | fzf --margin=3,6' @@ -102,7 +102,7 @@ alias lines='find . -name "*.[ch]" | xargs wc -l' # STARTUP #------------------------------------------------------------------------------- -[ "$TERM" = 'linux' ] && theme matrix +[ "$TERM" = 'linux' ] && theme bioelectric # Attach to tmux right away if [ -z "$TMUX" ] && command -v tmux &> /dev/null