madduck's git repository
Every one of the projects in this repository is available at the canonical
URL git://git.madduck.net/madduck/pub/<projectpath> — see
each project's metadata for the exact URL.
All patches and comments are welcome. Please squash your changes to logical
commits before using git-format-patch and git-send-email to
patches@git.madduck.net.
If you'd read over the Git project's submission guidelines and adhered to them,
I'd be especially grateful.
SSH access, as well as push access can be individually
arranged.
If you use my repositories frequently, consider adding the following
snippet to ~/.gitconfig and using the third clone URL listed for each
project:
[url "git://git.madduck.net/madduck/"]
insteadOf = madduck:
martin f. krafft [Tue, 9 Jul 2013 09:55:55 +0000 (11:55 +0200)]
Print calendar for today on every login shell
martin f. krafft [Fri, 14 Jun 2013 16:28:17 +0000 (18:28 +0200)]
newline in TS prompt
martin f. krafft [Tue, 23 Apr 2013 11:28:26 +0000 (13:28 +0200)]
Revert "enable vcsprompt to use %-sequences and make vcsh prompt stand out"
This reverts commit
d1a7abb4d44890ae6605a73d246b2eaa20a09c08. I cannot
use $psvar[] in the prompt, because that doesn't get expanded at runtime
without PROMPT_SUBST set.
Let's kill that for now.
martin f. krafft [Tue, 23 Apr 2013 11:18:03 +0000 (13:18 +0200)]
include pts-line in rprompt
martin f. krafft [Tue, 23 Apr 2013 11:17:53 +0000 (13:17 +0200)]
enable vcsprompt to use %-sequences and make vcsh prompt stand out
martin f. krafft [Mon, 22 Apr 2013 14:24:36 +0000 (16:24 +0200)]
integrate vcsh into vcsprompt
martin f. krafft [Mon, 22 Apr 2013 14:16:58 +0000 (16:16 +0200)]
improve vcsh prompt integration
martin f. krafft [Mon, 22 Apr 2013 14:16:47 +0000 (16:16 +0200)]
retire vcsh shellfunc in favour of richis package
martin f. krafft [Tue, 4 Dec 2012 15:13:03 +0000 (16:13 +0100)]
disable gpg batch mode for getpw
martin f. krafft [Mon, 17 Sep 2012 13:34:37 +0000 (15:34 +0200)]
expand ~ for inplacemkdir
martin f. krafft [Sat, 7 Apr 2012 12:32:52 +0000 (14:32 +0200)]
switch default region to DE from CH
martin f. krafft [Sun, 29 Jan 2012 08:55:11 +0000 (09:55 +0100)]
fix symlink creation for cdt.latest
martin f. krafft [Tue, 10 Jan 2012 16:33:09 +0000 (17:33 +0100)]
maintain latest symlink for tmpfuncs
martin f. krafft [Mon, 12 Dec 2011 16:12:17 +0000 (17:12 +0100)]
properly escape directories for inplacemkdir
martin f. krafft [Fri, 9 Dec 2011 11:42:33 +0000 (12:42 +0100)]
deprecate vcsh
martin f. krafft [Sat, 5 Nov 2011 09:14:53 +0000 (10:14 +0100)]
mkdir in place
Yaroslav Halchenko [Tue, 18 Oct 2011 21:37:49 +0000 (17:37 -0400)]
abbreviations are not preceeded by -
Hi Martin,
please consider another 1 byte patch ;) with recently added
abbreviations I found myself cursing too often while typing smth like
dpkg -L ...
so I augmented magic-abbrev-expand to include "-" into the "last
word"... patch is attached
Cheers
--
Yaroslav O. Halchenko
Postdoctoral Fellow, Department of Psychological and Brain Sciences
Dartmouth College, 419 Moore Hall, Hinman Box 6207, Hanover, NH 03755
Phone: +1 (603) 646-9834 Fax: +1 (603) 646-1419
WWW: http://www.linkedin.com/in/yarik
martin f. krafft [Wed, 19 Oct 2011 06:19:41 +0000 (08:19 +0200)]
two letter abbreviations
martin f. krafft [Wed, 19 Oct 2011 05:44:00 +0000 (07:44 +0200)]
Revert "abbreviations should be two chars!"
This reverts commit
9567c0145755a8997c8435ceea1189021d2abe30.
martin f. krafft [Sat, 15 Oct 2011 16:50:57 +0000 (18:50 +0200)]
abbreviations should be two chars!
martin f. krafft [Sun, 11 Sep 2011 09:08:04 +0000 (11:08 +0200)]
Merge branch 'master' of ssh://git.madduck.net/madduck/pub/etc/zsh
martin f. krafft [Sun, 11 Sep 2011 09:07:54 +0000 (11:07 +0200)]
new key id
martin f. krafft [Sat, 6 Aug 2011 09:01:48 +0000 (11:01 +0200)]
hide message if there is no screen
martin f. krafft [Sat, 6 Aug 2011 08:25:13 +0000 (10:25 +0200)]
share-or-create screen in asc session
martin f. krafft [Wed, 3 Aug 2011 07:49:41 +0000 (09:49 +0200)]
jump-after-first-word zle function
martin f. krafft [Wed, 3 Aug 2011 07:49:27 +0000 (09:49 +0200)]
asc function for road warrior ssh
martin f. krafft [Wed, 3 Aug 2011 07:49:16 +0000 (09:49 +0200)]
symbolic chmod aliases
martin f. krafft [Wed, 3 Aug 2011 07:49:03 +0000 (09:49 +0200)]
edalias/edfunc functions
martin f. krafft [Wed, 3 Aug 2011 07:48:50 +0000 (09:48 +0200)]
make zle abbreviations work
martin f. krafft [Wed, 3 Aug 2011 07:13:24 +0000 (09:13 +0200)]
setopt longlistjobs
martin f. krafft [Wed, 3 Aug 2011 07:12:56 +0000 (09:12 +0200)]
add insert-unicode-char
martin f. krafft [Wed, 3 Aug 2011 07:12:36 +0000 (09:12 +0200)]
global alias L for less
martin f. krafft [Wed, 3 Aug 2011 06:50:19 +0000 (08:50 +0200)]
add insert-last-word keybinding
martin f. krafft [Wed, 3 Aug 2011 06:50:07 +0000 (08:50 +0200)]
insert timestamp with esc-t
martin f. krafft [Wed, 3 Aug 2011 06:49:57 +0000 (08:49 +0200)]
fix history-search-end
martin f. krafft [Wed, 3 Aug 2011 06:49:30 +0000 (08:49 +0200)]
hash apt archives dir
martin f. krafft [Wed, 3 Aug 2011 06:48:21 +0000 (08:48 +0200)]
default to cdt prefix in tempfuncs
martin f. krafft [Thu, 19 May 2011 13:04:12 +0000 (15:04 +0200)]
add larger font to termfonts
martin f. krafft [Thu, 19 May 2011 13:04:05 +0000 (15:04 +0200)]
add ND/NF global aliases
martin f. krafft [Thu, 19 May 2011 13:03:50 +0000 (15:03 +0200)]
fix quoting in getpw
martin f. krafft [Mon, 14 Mar 2011 18:58:24 +0000 (19:58 +0100)]
initial checking of getpw
martin f. krafft [Wed, 23 Feb 2011 09:39:02 +0000 (10:39 +0100)]
tempfuncs can now incorporate a keyword into the file/dirname
Yaroslav Halchenko [Mon, 18 Oct 2010 21:09:34 +0000 (17:09 -0400)]
BF: giturl -- support SSH access URLs for github, i.e. git@github.com:ORGANIZATON/PROJECT
Yaroslav Halchenko [Mon, 18 Oct 2010 16:43:12 +0000 (12:43 -0400)]
ENH: giturl -- determines tracked remote (if not origin), supports github
* reverts to origin if remote could not be determined for the branch
* BF: $REMOTE -> $remote
* handles alioth.debian in addition to canonical git.debian
martin f. krafft [Tue, 19 Oct 2010 05:36:37 +0000 (07:36 +0200)]
let p return raw paste url
martin f. krafft [Mon, 2 Aug 2010 12:21:53 +0000 (14:21 +0200)]
print gitweb baseurl too
martin f. krafft [Fri, 30 Jul 2010 20:33:25 +0000 (22:33 +0200)]
oldstyle fixes
martin f. krafft [Fri, 30 Jul 2010 20:31:13 +0000 (22:31 +0200)]
Merge branch 'master' of ssh://git.madduck.net/madduck/pub/etc/zsh
Conflicts:
.zsh/func/giturl
martin f. krafft [Fri, 30 Jul 2010 20:27:35 +0000 (22:27 +0200)]
more flexible giturl handling
martin f. krafft [Fri, 30 Jul 2010 20:26:08 +0000 (22:26 +0200)]
comment update
martin f. krafft [Fri, 30 Jul 2010 20:23:37 +0000 (22:23 +0200)]
output additional information
martin f. krafft [Fri, 30 Jul 2010 20:23:31 +0000 (22:23 +0200)]
always append .git
martin f. krafft [Tue, 15 Jun 2010 10:30:16 +0000 (12:30 +0200)]
add giturl function
martin f. krafft [Mon, 31 May 2010 16:18:37 +0000 (18:18 +0200)]
add zle keybinding to insert a datestamp
Signed-off-by: martin f. krafft <madduck@madduck.net>
martin f. krafft [Sat, 8 May 2010 10:44:53 +0000 (12:44 +0200)]
properly create tmpdir if it doesn't exist
martin f. krafft [Thu, 11 Mar 2010 11:54:46 +0000 (12:54 +0100)]
add gbs function to setup a git branch
Signed-off-by: martin f. krafft <madduck@madduck.net>
martin f. krafft [Fri, 5 Feb 2010 02:06:13 +0000 (03:06 +0100)]
fix branch detection
martin f. krafft [Fri, 5 Feb 2010 01:49:13 +0000 (02:49 +0100)]
do not print preprompt in git bare repos
martin f. krafft [Fri, 5 Feb 2010 01:48:22 +0000 (02:48 +0100)]
fix branch detection in fake bare git repos
martin f. krafft [Sat, 19 Dec 2009 22:19:19 +0000 (23:19 +0100)]
-e apparently does not cover links, shell sucks
martin f. krafft [Sat, 19 Dec 2009 22:17:09 +0000 (23:17 +0100)]
only mkdir TMPDIR if nonexistent
martin f. krafft [Sat, 19 Sep 2009 08:49:15 +0000 (10:49 +0200)]
sourcedir also processess symlinks
martin f. krafft [Sat, 19 Sep 2009 08:09:07 +0000 (10:09 +0200)]
fix url
martin f. krafft [Sun, 13 Sep 2009 16:50:20 +0000 (18:50 +0200)]
make vcsh a zsh script if executed
martin f. krafft [Mon, 20 Jul 2009 08:40:58 +0000 (10:40 +0200)]
rename latin dict function to tn and prefix auto-generated functions to prevent alias expansion
martin f. krafft [Sat, 27 Jun 2009 07:54:53 +0000 (09:54 +0200)]
make lscontext a short ls
martin f. krafft [Wed, 15 Jul 2009 07:49:23 +0000 (09:49 +0200)]
use slexy as pastebin
martin f. krafft [Tue, 16 Jun 2009 08:40:39 +0000 (10:40 +0200)]
add hex-to/from-binary conversion
martin f. krafft [Fri, 12 Jun 2009 15:01:12 +0000 (17:01 +0200)]
use ellipsis in git preprompt
martin f. krafft [Fri, 22 May 2009 18:43:20 +0000 (20:43 +0200)]
~log is already factored out for lless
martin f. krafft [Fri, 22 May 2009 11:32:58 +0000 (13:32 +0200)]
add process inspection functions
martin f. krafft [Fri, 22 May 2009 11:32:42 +0000 (13:32 +0200)]
add lgrep function
martin f. krafft [Fri, 22 May 2009 11:32:31 +0000 (13:32 +0200)]
make log tailing and paging more generic
martin f. krafft [Fri, 22 May 2009 11:31:56 +0000 (13:31 +0200)]
cleanup doc completion
martin f. krafft [Fri, 22 May 2009 11:31:39 +0000 (13:31 +0200)]
add trace function
martin f. krafft [Fri, 22 May 2009 11:31:29 +0000 (13:31 +0200)]
cleanup
martin f. krafft [Fri, 22 May 2009 11:31:20 +0000 (13:31 +0200)]
do not use ugly colours on pid selection
martin f. krafft [Mon, 18 May 2009 18:04:30 +0000 (20:04 +0200)]
use … in prompt expansion truncation
martin f. krafft [Fri, 8 May 2009 12:07:43 +0000 (14:07 +0200)]
fix xmms2 jump completion sorting
martin f. krafft [Tue, 28 Apr 2009 16:40:02 +0000 (18:40 +0200)]
mktemp only takes six characters now
martin f. krafft [Sat, 25 Apr 2009 14:33:13 +0000 (16:33 +0200)]
prefer NZ over GB
martin f. krafft [Mon, 20 Apr 2009 09:37:26 +0000 (09:37 +0000)]
ignore failure when setopt histfcntllock, is-at-least did not work properly
martin f. krafft [Wed, 8 Apr 2009 11:48:09 +0000 (13:48 +0200)]
use stikked pastebin
martin f. krafft [Mon, 30 Mar 2009 15:31:31 +0000 (17:31 +0200)]
set compsys filename earlier
martin f. krafft [Mon, 30 Mar 2009 15:31:19 +0000 (17:31 +0200)]
hack to prevent multiple devtodo runs on chpwd
martin f. krafft [Sun, 1 Mar 2009 17:29:20 +0000 (18:29 +0100)]
initial checkin of svngit script/function
Signed-off-by: martin f. krafft <madduck@madduck.net>
martin f. krafft [Sun, 1 Mar 2009 17:29:06 +0000 (18:29 +0100)]
initial checkin of gitpub script/function
Signed-off-by: martin f. krafft <madduck@madduck.net>
martin f. krafft [Tue, 17 Feb 2009 17:55:18 +0000 (18:55 +0100)]
use rafb instead of broken 1t2.us
martin f. krafft [Wed, 11 Feb 2009 06:04:57 +0000 (07:04 +0100)]
use - for stdin
martin f. krafft [Mon, 5 Jan 2009 08:21:37 +0000 (09:21 +0100)]
redirect errors from git-diff to null
martin f. krafft [Sat, 13 Dec 2008 14:01:24 +0000 (15:01 +0100)]
re-execute zsh with same options as parent
martin f. krafft [Tue, 9 Dec 2008 13:38:24 +0000 (14:38 +0100)]
tag initial commit with giti
martin f. krafft [Sat, 6 Dec 2008 11:12:04 +0000 (12:12 +0100)]
pipe w through cat due to #183394
martin f. krafft [Fri, 28 Nov 2008 09:59:42 +0000 (10:59 +0100)]
enable edit-command-line widget
martin f. krafft [Mon, 17 Nov 2008 13:02:51 +0000 (14:02 +0100)]
output short listing as context
martin f. krafft [Mon, 17 Nov 2008 12:03:25 +0000 (13:03 +0100)]
make l output a shorter listing
martin f. krafft [Mon, 13 Oct 2008 09:55:48 +0000 (11:55 +0200)]
add debian aliases for sub/unsub
martin f. krafft [Mon, 13 Oct 2008 09:55:36 +0000 (11:55 +0200)]
generic aliases bugfix by sourcing them again
martin f. krafft [Mon, 6 Oct 2008 20:09:04 +0000 (22:09 +0200)]
reset SHLVL for login shells
martin f. krafft [Wed, 1 Oct 2008 20:57:37 +0000 (22:57 +0200)]
fix xtermtitle printing for non-local machines