summary refs log tree commit diff
path: root/home/.local/bin/versions
blob: 25e5ff721e07b1710546138e042aaf653d2c00ee (plain) (blame)
1
2
3
4
5
6
7
8
9
#!/bin/sh
set -u

for repo in ~/src/git/*; do
	version=$(git -C "${repo}" describe --dirty 2>/dev/null)
	if [ $? -eq 0 ]; then
		echo "${repo##*/}-${version#v}"
	fi
done | sort -nr -t '-' -k 3 | column -t -s '-'
c115ee0&follow=1'>Highlight yacc and lex files as CJune McEnroe Their %-prefixed directives should probably be highlighted Macro. 2019-05-10Use val instead of suboptargJune McEnroe suboptarg doesn't exist in GNU. Hopefully BSD getsubopt also sets val on failure? 2019-05-09Add Parable of the SowerJune McEnroe 2019-05-07Add bit without buildJune McEnroe Need to do some stuff in the Makefile for lex and yacc and generating HTML pages for it. 2019-05-04Fix MANDIR typoJune McEnroe 2019-05-04Move relay to binJune McEnroef='/src/commit/.gitignore.global?id=648682bd6a2827be5ea1f17243c9f00bf69323ce&follow=1'>Ignore directory .swp filesJune McEnroe 2015-12-16Color prompt yellow in vi normal modeJune McEnroe 2015-11-23Remove colorcolumn at 120June McEnroe 2015-11-23Always git rebase --autosquashJune McEnroe 2015-11-18Add inverted shift to KarabinerJune McEnroe 2015-11-06Clean up git configsJune McEnroe 2015-11-06Add prune scriptJune McEnroe 2015-11-03Update vendored Gruvbox colorschemeJune McEnroe 2015-11-02Redefine _newline_precmd in _newline_precmdJune McEnroe 2015-11-02Print newline before every prompt after firstJune McEnroe 2015-11-02Remove first prompt placementJune McEnroe 2015-11-02Newline before prompt and start at bottom of terminalJune McEnroe 2015-10-27Add chruby to zshrcJune McEnroe