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 [Mon, 12 May 2008 14:37:30 +0000 (15:37 +0100)]
use array for ls options
martin f. krafft [Mon, 12 May 2008 14:27:08 +0000 (15:27 +0100)]
automatic ls on chdir()
martin f. krafft [Mon, 12 May 2008 12:10:06 +0000 (13:10 +0100)]
ignore .zwc.old files
martin f. krafft [Sun, 11 May 2008 16:00:50 +0000 (17:00 +0100)]
customise some bindings from the guide
martin f. krafft [Sun, 11 May 2008 15:20:37 +0000 (16:20 +0100)]
remove '/' from WORDCHARS
martin f. krafft [Sun, 11 May 2008 15:04:19 +0000 (16:04 +0100)]
set editor variables
martin f. krafft [Sun, 11 May 2008 14:57:42 +0000 (15:57 +0100)]
provide alias l=ll
martin f. krafft [Sun, 11 May 2008 14:23:41 +0000 (15:23 +0100)]
turn on extended globbing
martin f. krafft [Sun, 11 May 2008 12:16:01 +0000 (13:16 +0100)]
make sure old zwc files are removed
martin f. krafft [Sun, 11 May 2008 12:14:59 +0000 (13:14 +0100)]
fix prompt for paths with spaces
martin f. krafft [Sat, 10 May 2008 20:13:53 +0000 (22:13 +0200)]
create tmpdir if not present
martin f. krafft [Sat, 10 May 2008 19:07:53 +0000 (20:07 +0100)]
delete .zwc.old files
martin f. krafft [Sat, 10 May 2008 18:17:55 +0000 (19:17 +0100)]
do not set jump-target, which fucks with arrow keys
martin f. krafft [Sat, 10 May 2008 13:41:47 +0000 (14:41 +0100)]
add sendmail alias
martin f. krafft [Sat, 10 May 2008 12:15:02 +0000 (13:15 +0100)]
fix dev null path
martin f. krafft [Sat, 10 May 2008 12:13:32 +0000 (13:13 +0100)]
substitute tail -f for tailf if not installed
martin f. krafft [Sat, 10 May 2008 11:54:12 +0000 (12:54 +0100)]
use a proper number
martin f. krafft [Sat, 10 May 2008 11:52:45 +0000 (12:52 +0100)]
put LESS on one line
martin f. krafft [Sat, 10 May 2008 09:42:23 +0000 (10:42 +0100)]
fix compile selection glob
martin f. krafft [Sat, 10 May 2008 09:15:51 +0000 (10:15 +0100)]
keep variable local in path functions
martin f. krafft [Sat, 10 May 2008 00:38:39 +0000 (01:38 +0100)]
source path after setting base dirs
martin f. krafft [Fri, 9 May 2008 23:10:54 +0000 (00:10 +0100)]
do not die if compiling finds no files
martin f. krafft [Fri, 9 May 2008 22:20:43 +0000 (23:20 +0100)]
handle a little better when GIT_DIR is set
martin f. krafft [Fri, 9 May 2008 21:10:35 +0000 (22:10 +0100)]
fix scpnew
martin f. krafft [Fri, 9 May 2008 21:09:27 +0000 (22:09 +0100)]
fix scptmp
martin f. krafft [Fri, 9 May 2008 21:07:43 +0000 (22:07 +0100)]
sshtmp/sshnew aliases
martin f. krafft [Fri, 9 May 2008 20:40:29 +0000 (21:40 +0100)]
rafb adapters
martin f. krafft [Fri, 9 May 2008 20:11:05 +0000 (21:11 +0100)]
run tempfuncs a little earlier
martin f. krafft [Fri, 9 May 2008 19:43:01 +0000 (20:43 +0100)]
set paths in zshenv!
martin f. krafft [Fri, 9 May 2008 19:04:01 +0000 (20:04 +0100)]
add fignore suffixes
martin f. krafft [Fri, 9 May 2008 18:42:26 +0000 (19:42 +0100)]
functions to convert number bases
martin f. krafft [Fri, 9 May 2008 18:32:16 +0000 (19:32 +0100)]
some more aliases
martin f. krafft [Fri, 9 May 2008 18:32:11 +0000 (19:32 +0100)]
dir hashes for common dirs
martin f. krafft [Fri, 9 May 2008 18:08:08 +0000 (19:08 +0100)]
add t=tailf alias
martin f. krafft [Fri, 9 May 2008 18:07:35 +0000 (19:07 +0100)]
add dict and shortcuts
martin f. krafft [Fri, 9 May 2008 17:42:18 +0000 (18:42 +0100)]
--hilight-scroll is just disturbing
martin f. krafft [Fri, 9 May 2008 17:39:58 +0000 (18:39 +0100)]
make less usable again
martin f. krafft [Fri, 9 May 2008 16:39:55 +0000 (17:39 +0100)]
factor pager variables to separate file
martin f. krafft [Fri, 9 May 2008 14:16:50 +0000 (15:16 +0100)]
follow move of old zsh install
martin f. krafft [Fri, 9 May 2008 12:08:55 +0000 (13:08 +0100)]
chdir back to the previous dir
martin f. krafft [Fri, 9 May 2008 12:07:11 +0000 (13:07 +0100)]
set texmf vars
martin f. krafft [Fri, 9 May 2008 12:01:41 +0000 (13:01 +0100)]
do not remove .xsession-errors
martin f. krafft [Fri, 9 May 2008 12:00:35 +0000 (13:00 +0100)]
clean on session start not end
martin f. krafft [Fri, 9 May 2008 11:59:56 +0000 (12:59 +0100)]
clean up nohup and core
martin f. krafft [Fri, 9 May 2008 10:53:51 +0000 (11:53 +0100)]
add debian_chroot to prompt
martin f. krafft [Fri, 9 May 2008 10:53:40 +0000 (11:53 +0100)]
add some debian variable defs
martin f. krafft [Fri, 9 May 2008 10:50:28 +0000 (11:50 +0100)]
split compiling of etc and var
martin f. krafft [Thu, 8 May 2008 20:53:09 +0000 (21:53 +0100)]
fix compilation globs
martin f. krafft [Thu, 8 May 2008 11:22:15 +0000 (12:22 +0100)]
more sophisticated cleaning
martin f. krafft [Thu, 8 May 2008 11:20:21 +0000 (12:20 +0100)]
just use rm, do not insist on command
martin f. krafft [Thu, 8 May 2008 11:04:53 +0000 (12:04 +0100)]
define core zsh variables early
martin f. krafft [Thu, 8 May 2008 11:04:17 +0000 (12:04 +0100)]
disable rationalise-dot for now
martin f. krafft [Thu, 8 May 2008 11:00:18 +0000 (12:00 +0100)]
clear the screen on logout
martin f. krafft [Thu, 8 May 2008 10:45:29 +0000 (11:45 +0100)]
improve path manipulation
martin f. krafft [Thu, 8 May 2008 10:45:18 +0000 (11:45 +0100)]
fix up rdir names
martin f. krafft [Wed, 7 May 2008 20:15:57 +0000 (21:15 +0100)]
purer implementation of ldir
martin f. krafft [Wed, 7 May 2008 19:20:12 +0000 (20:20 +0100)]
add some options from the guide
martin f. krafft [Wed, 7 May 2008 19:01:43 +0000 (20:01 +0100)]
prefix prompt with + for subshells
martin f. krafft [Wed, 7 May 2008 19:01:14 +0000 (20:01 +0100)]
add some options from the guide
martin f. krafft [Wed, 7 May 2008 18:30:01 +0000 (19:30 +0100)]
use local variables and do not unset
martin f. krafft [Wed, 7 May 2008 18:29:35 +0000 (19:29 +0100)]
remove unneeded variable
martin f. krafft [Wed, 7 May 2008 18:28:53 +0000 (19:28 +0100)]
commend bindkeys
martin f. krafft [Wed, 7 May 2008 18:27:34 +0000 (19:27 +0100)]
no need for semicolons at eol
martin f. krafft [Wed, 7 May 2008 18:25:23 +0000 (19:25 +0100)]
ulimit instead of no core specific
martin f. krafft [Wed, 7 May 2008 18:18:12 +0000 (19:18 +0100)]
set path and locale at login
martin f. krafft [Wed, 7 May 2008 16:39:34 +0000 (17:39 +0100)]
add giti alias
martin f. krafft [Wed, 7 May 2008 16:39:17 +0000 (17:39 +0100)]
add mime handling to shell
martin f. krafft [Wed, 7 May 2008 11:15:02 +0000 (12:15 +0100)]
comment debugging stuff which just costs time
martin f. krafft [Wed, 7 May 2008 10:46:26 +0000 (11:46 +0100)]
fix zrecompiling
martin f. krafft [Wed, 7 May 2008 10:37:30 +0000 (11:37 +0100)]
do not source *.old files
martin f. krafft [Wed, 7 May 2008 10:35:45 +0000 (11:35 +0100)]
fix filenames in headers
martin f. krafft [Wed, 7 May 2008 10:23:02 +0000 (11:23 +0100)]
add zgmv, which is zmv+git-mv
martin f. krafft [Wed, 7 May 2008 10:32:27 +0000 (11:32 +0100)]
reordering of zshrc files
martin f. krafft [Wed, 7 May 2008 10:12:38 +0000 (11:12 +0100)]
More nocorrect/noglob aliases
martin f. krafft [Wed, 7 May 2008 10:10:54 +0000 (11:10 +0100)]
several more options i like
martin f. krafft [Wed, 7 May 2008 10:10:39 +0000 (11:10 +0100)]
add magic dotdot rationalisation
martin f. krafft [Wed, 7 May 2008 10:10:21 +0000 (11:10 +0100)]
split shell variable setup to separate file
martin f. krafft [Tue, 6 May 2008 23:15:17 +0000 (00:15 +0100)]
Don't detect SVN/SVK/CVS, which are not implemented yet
martin f. krafft [Tue, 6 May 2008 23:14:39 +0000 (00:14 +0100)]
Prefix bzr branch
martin f. krafft [Tue, 6 May 2008 22:58:56 +0000 (23:58 +0100)]
Add bzr support
martin f. krafft [Tue, 6 May 2008 22:48:47 +0000 (23:48 +0100)]
Add mercurial support
martin f. krafft [Tue, 6 May 2008 22:35:34 +0000 (23:35 +0100)]
rework the vcs prompt
martin f. krafft [Tue, 6 May 2008 20:58:38 +0000 (21:58 +0100)]
Add svk to detection routine
martin f. krafft [Tue, 6 May 2008 20:58:20 +0000 (21:58 +0100)]
Add warnings for unsupported repo types
martin f. krafft [Tue, 6 May 2008 20:47:29 +0000 (21:47 +0100)]
Proper detection of VCS type
we can't just run e.g. a git command because that wouldn't find another repo
type in a subdir of a git repo. so we do it iteratively by checking for the
directories, which is suboptimal but should work.
martin f. krafft [Tue, 6 May 2008 20:40:58 +0000 (21:40 +0100)]
use a loop to define functions
martin f. krafft [Tue, 6 May 2008 16:59:52 +0000 (17:59 +0100)]
correct aliases for zcp and zln
martin f. krafft [Tue, 6 May 2008 14:48:52 +0000 (15:48 +0100)]
disable zsh/files for #479764
martin f. krafft [Tue, 6 May 2008 10:47:31 +0000 (11:47 +0100)]
fix silly typo in prompt definition
martin f. krafft [Tue, 6 May 2008 10:46:28 +0000 (11:46 +0100)]
fix prompt for root
martin f. krafft [Tue, 6 May 2008 10:34:06 +0000 (11:34 +0100)]
pass arguments to hook functions
martin f. krafft [Tue, 6 May 2008 10:30:22 +0000 (11:30 +0100)]
provide hook functions to iterate _functions arrays
martin f. krafft [Tue, 6 May 2008 10:03:16 +0000 (11:03 +0100)]
customise $PATH
martin f. krafft [Tue, 6 May 2008 09:51:27 +0000 (10:51 +0100)]
do not mailcheck
martin f. krafft [Tue, 6 May 2008 09:48:03 +0000 (10:48 +0100)]
POSIX collation for ls
martin f. krafft [Tue, 6 May 2008 09:45:05 +0000 (10:45 +0100)]
set the locale
martin f. krafft [Tue, 6 May 2008 09:29:59 +0000 (10:29 +0100)]
fix header
martin f. krafft [Tue, 6 May 2008 09:25:11 +0000 (10:25 +0100)]
less redundancy in ls alias def
martin f. krafft [Tue, 6 May 2008 09:23:19 +0000 (10:23 +0100)]
show dirs first with ls only if supported
martin f. krafft [Tue, 6 May 2008 09:20:02 +0000 (10:20 +0100)]
setopt hist_fcntl_lock only for 4.3.6 and beyond