]> ruderich.org/simon Gitweb - config/dotfiles.git/log
config/dotfiles.git
15 years agovimrc: Be more compatible with less capable versions.
Simon Ruderich [Sun, 22 Mar 2009 17:56:45 +0000 (18:56 +0100)]
vimrc: Be more compatible with less capable versions.

15 years agozsh: Display @ in window name when running ssh.
Simon Ruderich [Sun, 22 Mar 2009 17:43:50 +0000 (18:43 +0100)]
zsh: Display @ in window name when running ssh.

The @ is added at the beginning like ! for sudo commands.

This makes it easy to spot if a window is on the current computer or connected
to another.

15 years agozsh: Expand aliases in window names correctly with sudo.
Simon Ruderich [Sun, 22 Mar 2009 17:40:50 +0000 (18:40 +0100)]
zsh: Expand aliases in window names correctly with sudo.

This failed before because the ! caused the following tests to not match.

15 years agorc: Add section names.
Simon Ruderich [Fri, 20 Mar 2009 23:30:43 +0000 (00:30 +0100)]
rc: Add section names.

15 years agorc: Documentation fix.
Simon Ruderich [Fri, 20 Mar 2009 23:30:14 +0000 (00:30 +0100)]
rc: Documentation fix.

15 years agoscreenrc: Add ^B binding which runs urlview.
Simon Ruderich [Fri, 20 Mar 2009 19:59:44 +0000 (20:59 +0100)]
screenrc: Add ^B binding which runs urlview.

Very useful to follow links.

15 years agox11: Let Ctrl-t t in stumpWM work with XTerm.
Simon Ruderich [Wed, 18 Mar 2009 21:10:20 +0000 (22:10 +0100)]
x11: Let Ctrl-t t in stumpWM work with XTerm.

Thanks to [df] in #stumpwm on Freenode.

15 years agogit: No need to create .gitignore.
Simon Ruderich [Mon, 16 Mar 2009 16:45:43 +0000 (17:45 +0100)]
git: No need to create .gitignore.

Just use gitignore in this directory.

15 years agolib.sh: Fix m4() to work with arguments with spaces.
Simon Ruderich [Sun, 15 Mar 2009 14:26:26 +0000 (15:26 +0100)]
lib.sh: Fix m4() to work with arguments with spaces.

Also added tests for this.

15 years agotests: Add test for m4() with multiple arguments.
Simon Ruderich [Sun, 15 Mar 2009 13:51:59 +0000 (14:51 +0100)]
tests: Add test for m4() with multiple arguments.

15 years agolib.sh: Add Gentoo support to os().
Simon Ruderich [Mon, 16 Mar 2009 15:36:25 +0000 (16:36 +0100)]
lib.sh: Add Gentoo support to os().

15 years agosetup.sh: Add missing shebang.
Simon Ruderich [Sun, 15 Mar 2009 13:33:04 +0000 (14:33 +0100)]
setup.sh: Add missing shebang.

15 years agosetup.sh: Add missing shebang.
Simon Ruderich [Sun, 15 Mar 2009 13:32:18 +0000 (14:32 +0100)]
setup.sh: Add missing shebang.

15 years agosetup.sh: Add missing shebang.
Simon Ruderich [Sun, 15 Mar 2009 13:31:57 +0000 (14:31 +0100)]
setup.sh: Add missing shebang.

15 years agosetup.sh: Add missing shebang.
Simon Ruderich [Sun, 15 Mar 2009 13:31:35 +0000 (14:31 +0100)]
setup.sh: Add missing shebang.

15 years agosetup.sh: Add missing shebang.
Simon Ruderich [Sun, 15 Mar 2009 13:31:18 +0000 (14:31 +0100)]
setup.sh: Add missing shebang.

15 years agosetup.sh: Add missing shebang.
Simon Ruderich [Sun, 15 Mar 2009 13:30:49 +0000 (14:30 +0100)]
setup.sh: Add missing shebang.

15 years agoAdd keymap configuration file.
Simon Ruderich [Sat, 14 Mar 2009 15:27:09 +0000 (16:27 +0100)]
Add keymap configuration file.

At the moment the only change is the use of the Caps-Lock key as Escape.

15 years agoXdefaults: Allow use of meta key in emacs.
Simon Ruderich [Sat, 14 Mar 2009 15:24:18 +0000 (16:24 +0100)]
Xdefaults: Allow use of meta key in emacs.

Also useful for applications using similar key bindings like irssi.

15 years agoxinitrc: Add Vim modeline.
Simon Ruderich [Sat, 14 Mar 2009 15:20:31 +0000 (16:20 +0100)]
xinitrc: Add Vim modeline.

15 years agoxinitrc: Use black background.
Simon Ruderich [Sat, 14 Mar 2009 15:04:29 +0000 (16:04 +0100)]
xinitrc: Use black background.

15 years agoafter/ftplugin/mail.vim: Use setlocal.
Simon Ruderich [Sat, 14 Mar 2009 15:14:01 +0000 (16:14 +0100)]
after/ftplugin/mail.vim: Use setlocal.

This makes sure the setting is only set in the current buffer.

15 years agovimrc: Minor indentation fix.
Simon Ruderich [Sat, 14 Mar 2009 15:10:02 +0000 (16:10 +0100)]
vimrc: Minor indentation fix.

15 years agozsh: Fix display of running program on linux console.
Simon Ruderich [Fri, 13 Mar 2009 18:00:42 +0000 (19:00 +0100)]
zsh: Fix display of running program on linux console.

This fix is additional to 4a38bc3a4780c7450a64e236344a3205506c7d46.

15 years agozsh: Fix infinite loop with screen on linux console.
Simon Ruderich [Fri, 13 Mar 2009 17:56:10 +0000 (18:56 +0100)]
zsh: Fix infinite loop with screen on linux console.

This was caused because screen uses 'screen.linux' instead of 'screen' as
$TERM on a linux console which wasn't checked correctly.

15 years agobash: Abort if the shell is not interactive.
Simon Ruderich [Thu, 12 Mar 2009 21:42:51 +0000 (22:42 +0100)]
bash: Abort if the shell is not interactive.

Prevents problems with scp and rcp.

15 years agozsh: Fix for 4.3.4 so add-zsh-hook works.
Simon Ruderich [Thu, 12 Mar 2009 21:34:56 +0000 (22:34 +0100)]
zsh: Fix for 4.3.4 so add-zsh-hook works.

It seems it's broken on at least this version. So the compatibility function
in ~/.zsh/function/compatibility is used on this version too.

As the function add-zsh-hook already exists, fpath was updated to load the
compatibility functions first.

15 years agozsh: Try to fix mistakes when completing.
Simon Ruderich [Tue, 10 Mar 2009 17:13:04 +0000 (18:13 +0100)]
zsh: Try to fix mistakes when completing.

15 years agozsh: Display multiple matches in different groups.
Simon Ruderich [Tue, 10 Mar 2009 16:38:34 +0000 (17:38 +0100)]
zsh: Display multiple matches in different groups.

See source code for more information.

15 years agozsh: Reorder completion settings.
Simon Ruderich [Tue, 10 Mar 2009 16:35:24 +0000 (17:35 +0100)]
zsh: Reorder completion settings.

No functional changes.

15 years agozsh: Colorize stderr.
Simon Ruderich [Tue, 10 Mar 2009 16:20:58 +0000 (17:20 +0100)]
zsh: Colorize stderr.

Doesn't work all the time but it's very useful.

15 years agozsh: Set window title to current program in stumpwm.
Simon Ruderich [Tue, 10 Mar 2009 16:07:26 +0000 (17:07 +0100)]
zsh: Set window title to current program in stumpwm.

15 years agozsh: Automatically start screen.
Simon Ruderich [Tue, 10 Mar 2009 15:48:27 +0000 (16:48 +0100)]
zsh: Automatically start screen.

This prevents problems when X11 crashes or the network connection is lost on
remote servers.

15 years agoAdd Xdefaults file.
Simon Ruderich [Mon, 9 Mar 2009 08:02:02 +0000 (09:02 +0100)]
Add Xdefaults file.

15 years agoInitial import.
Simon Ruderich [Fri, 6 Mar 2009 15:00:49 +0000 (16:00 +0100)]
Initial import.

Add setup.sh script and environment.plist for Mac OS X.

15 years agoAdd mapping to append ; to the current line.
Simon Ruderich [Sun, 1 Mar 2009 21:04:53 +0000 (22:04 +0100)]
Add mapping to append ; to the current line.

Very useful for languages which require a ; at the end of the line (PHP, Perl,
C, ...)

15 years agosync.sh: Status also displays unpushed commits.
Simon Ruderich [Sun, 1 Mar 2009 15:36:46 +0000 (16:36 +0100)]
sync.sh: Status also displays unpushed commits.

15 years agogit: Use opendiff as merge tool on Mac OS X.
Simon Ruderich [Sun, 1 Mar 2009 15:34:33 +0000 (16:34 +0100)]
git: Use opendiff as merge tool on Mac OS X.

15 years agotests: Add tests for m4() in lib.sh.
Simon Ruderich [Sun, 1 Mar 2009 15:31:37 +0000 (16:31 +0100)]
tests: Add tests for m4() in lib.sh.

15 years agolib.sh: m4() define useful macros.
Simon Ruderich [Sun, 1 Mar 2009 15:19:29 +0000 (16:19 +0100)]
lib.sh: m4() define useful macros.

At the moment only IF and FI are defined which can be used for easy checking
of variables. They use the ifelse() macro.

15 years agolib.sh: Add os function which returns current OS.
Simon Ruderich [Sun, 1 Mar 2009 15:17:42 +0000 (16:17 +0100)]
lib.sh: Add os function which returns current OS.

Works on Debian and Mac OS X at the moment.

15 years agosync.sh: Status is the default command now.
Simon Ruderich [Sun, 1 Mar 2009 14:30:18 +0000 (15:30 +0100)]
sync.sh: Status is the default command now.

It was fetch, but this was rather unintuitive.

15 years agoAdd crontab after syntax for better spell checking.
Simon Ruderich [Sat, 28 Feb 2009 22:38:12 +0000 (23:38 +0100)]
Add crontab after syntax for better spell checking.

15 years agoAdd apache after syntax for better spell checking.
Simon Ruderich [Sat, 28 Feb 2009 22:36:25 +0000 (23:36 +0100)]
Add apache after syntax for better spell checking.

15 years agoAdd perl after filetype to allow folding.
Simon Ruderich [Sat, 28 Feb 2009 22:35:19 +0000 (23:35 +0100)]
Add perl after filetype to allow folding.

15 years agoAdd mail after fileplugin.
Simon Ruderich [Sat, 28 Feb 2009 22:34:15 +0000 (23:34 +0100)]
Add mail after fileplugin.

Sets textwidth to 65 to conform with rfc1855.

15 years agostump: Fix to work with current git version.
Simon Ruderich [Sat, 28 Feb 2009 21:02:17 +0000 (15:02 -0600)]
stump: Fix to work with current git version.

The location of theses bindings where changed.

15 years agoMerge commit 'simpleplan/master'
Simon Ruderich [Sat, 28 Feb 2009 16:53:39 +0000 (17:53 +0100)]
Merge commit 'simpleplan/master'

15 years agoscreen: Display hostname in the hardstatus line.
Simon Ruderich [Sat, 28 Feb 2009 17:22:29 +0000 (11:22 -0600)]
screen: Display hostname in the hardstatus line.

15 years agozsh: Prevent :q exists the shell.
Simon Ruderich [Sat, 28 Feb 2009 16:27:43 +0000 (17:27 +0100)]
zsh: Prevent :q exists the shell.

This happens if I confuse the shell with Vim.

15 years agostumpwm: Better way to enable modeline and display it at the bottom.
Simon Ruderich [Thu, 26 Feb 2009 20:36:00 +0000 (14:36 -0600)]
stumpwm: Better way to enable modeline and display it at the bottom.

15 years agostumpwm: Add section names.
Simon Ruderich [Thu, 26 Feb 2009 20:27:15 +0000 (14:27 -0600)]
stumpwm: Add section names.

15 years agoOnly create links if applications are installed.
Simon Ruderich [Thu, 26 Feb 2009 19:26:45 +0000 (13:26 -0600)]
Only create links if applications are installed.

15 years agoUse default escape key for screen.
Simon Ruderich [Thu, 26 Feb 2009 18:28:57 +0000 (12:28 -0600)]
Use default escape key for screen.

It wasn't a good idea to use ? for that, C-a is much better.

15 years agoExpand aliases when using sudo.
Simon Ruderich [Thu, 26 Feb 2009 18:26:17 +0000 (12:26 -0600)]
Expand aliases when using sudo.

15 years agoMove code to change window title to own function.
Simon Ruderich [Thu, 26 Feb 2009 17:19:58 +0000 (18:19 +0100)]
Move code to change window title to own function.

This prevents code duplication.

15 years agoMinor documentation fix.
Simon Ruderich [Tue, 24 Feb 2009 22:37:15 +0000 (23:37 +0100)]
Minor documentation fix.

Use proper line length.

15 years agoAdd Vim modeline to lib.sh.test.
Simon Ruderich [Tue, 24 Feb 2009 21:09:06 +0000 (22:09 +0100)]
Add Vim modeline to lib.sh.test.

15 years agoAdd tests for BSD which on Mac OS X.
Simon Ruderich [Tue, 24 Feb 2009 21:05:04 +0000 (22:05 +0100)]
Add tests for BSD which on Mac OS X.

This is additional to 4cb251564b860a64b316aba2cb3ab376ce6c36de.

15 years agoFix installed() in setup.sh on Mac OS X.
Simon Ruderich [Tue, 24 Feb 2009 20:18:35 +0000 (21:18 +0100)]
Fix installed() in setup.sh on Mac OS X.

which on Mac OS X doesn't use proper exit code.

Also test for ls instead of which as it caused problems. I have no idea why.

15 years agoAdd Vim modeline to gitconfig.m4.
Simon Ruderich [Mon, 23 Feb 2009 18:04:34 +0000 (12:04 -0600)]
Add Vim modeline to gitconfig.m4.

This is necessary because of its m4 extension.

15 years agoOnly create links for mercurial if it's installed.
Simon Ruderich [Mon, 23 Feb 2009 17:57:30 +0000 (11:57 -0600)]
Only create links for mercurial if it's installed.

15 years agoAdd installed() function to check if a program exists.
Simon Ruderich [Mon, 23 Feb 2009 17:49:09 +0000 (11:49 -0600)]
Add installed() function to check if a program exists.

This can be used in setup.sh functions so links are only installed for
applications which exist on the machine.

Also add tests for the function.

15 years agoAdd glog command to Git.
Simon Ruderich [Mon, 23 Feb 2009 17:40:58 +0000 (11:40 -0600)]
Add glog command to Git.

It's a "replacement" for gitk when only the console is available.

15 years agoAlways use Vim as editor for Git.
Simon Ruderich [Mon, 23 Feb 2009 17:39:21 +0000 (11:39 -0600)]
Always use Vim as editor for Git.

15 years agoUse running program name for xterm's window name.
Simon Ruderich [Mon, 23 Feb 2009 17:15:04 +0000 (11:15 -0600)]
Use running program name for xterm's window name.

In the past it was only used with screen.

15 years agoInitial import with configuration for stumpwm.
Simon Ruderich [Mon, 23 Feb 2009 00:44:49 +0000 (18:44 -0600)]
Initial import with configuration for stumpwm.

15 years agoAdd Vim modeline.
Simon Ruderich [Sun, 22 Feb 2009 15:59:48 +0000 (09:59 -0600)]
Add Vim modeline.

15 years agoMerge commit 'rammstein/master'
Simon Ruderich [Sun, 22 Feb 2009 15:59:32 +0000 (09:59 -0600)]
Merge commit 'rammstein/master'

15 years agoFallback to clear if clear_console is not found in logout.
Simon Ruderich [Sun, 22 Feb 2009 14:27:55 +0000 (15:27 +0100)]
Fallback to clear if clear_console is not found in logout.

15 years agoUse one logout file which is included by bash and zsh.
Simon Ruderich [Sun, 22 Feb 2009 02:39:21 +0000 (03:39 +0100)]
Use one logout file which is included by bash and zsh.

Add missing bash logout file to setup.sh and add Vim modeline.

15 years agosource_config() can load normal configuration files.
Simon Ruderich [Sun, 22 Feb 2009 02:29:56 +0000 (03:29 +0100)]
source_config() can load normal configuration files.

No extension (like hostname; $4) have to be used. See source code for more
information.

Update tests and add Vim modeline.

15 years agoBe more compatible in shell/env.
Simon Ruderich [Sun, 22 Feb 2009 00:02:19 +0000 (18:02 -0600)]
Be more compatible in shell/env.

15 years agoAbort if the fetch fails in setup.sh.
Simon Ruderich [Sat, 21 Feb 2009 23:07:17 +0000 (17:07 -0600)]
Abort if the fetch fails in setup.sh.

This prevents that the push rule is added multiple times to .git/config if a
fetch failed.

15 years agosetup.sh runs gc on newly created repositories.
Simon Ruderich [Sat, 21 Feb 2009 23:04:43 +0000 (17:04 -0600)]
setup.sh runs gc on newly created repositories.

15 years agosetup.sh removes the remote if fetching was unsuccessful.
Simon Ruderich [Sat, 21 Feb 2009 23:03:36 +0000 (17:03 -0600)]
setup.sh removes the remote if fetching was unsuccessful.

This makes fixing the remote easier as it's not necessary to remove it before
trying to add it again.

15 years agosetup.sh can create repositories and setup remotes.
Simon Ruderich [Sat, 21 Feb 2009 22:46:43 +0000 (16:46 -0600)]
setup.sh can create repositories and setup remotes.

See the source for more information.

15 years agoFix leaking a variable in lib.sh.
Simon Ruderich [Sat, 21 Feb 2009 22:27:08 +0000 (16:27 -0600)]
Fix leaking a variable in lib.sh.

15 years agoDon't use local in source_config().
Simon Ruderich [Sat, 21 Feb 2009 20:05:44 +0000 (21:05 +0100)]
Don't use local in source_config().

15 years agoTest if variables are leaked in source_config().
Simon Ruderich [Sat, 21 Feb 2009 19:52:59 +0000 (20:52 +0100)]
Test if variables are leaked in source_config().

15 years agoFind git directories in setup.sh automatically.
Simon Ruderich [Sat, 21 Feb 2009 01:02:54 +0000 (19:02 -0600)]
Find git directories in setup.sh automatically.

15 years agoImprove documentation in setup.sh.
Simon Ruderich [Sat, 21 Feb 2009 00:42:28 +0000 (18:42 -0600)]
Improve documentation in setup.sh.

15 years agoFix doc typo in setup.sh.
Simon Ruderich [Sat, 21 Feb 2009 00:14:21 +0000 (18:14 -0600)]
Fix doc typo in setup.sh.

15 years agoForgot to replace one source in tests/.
Simon Ruderich [Fri, 20 Feb 2009 20:46:36 +0000 (21:46 +0100)]
Forgot to replace one source in tests/.

15 years agoUse . instead of source to load config files.
Simon Ruderich [Fri, 20 Feb 2009 20:04:25 +0000 (21:04 +0100)]
Use . instead of source to load config files.

This prevents a possible security problem with source, as it also searches the
current directory.

15 years agoOnly load ~/.bashrc if it's available.
Simon Ruderich [Fri, 20 Feb 2009 17:37:35 +0000 (18:37 +0100)]
Only load ~/.bashrc if it's available.

Also add Vim modeline.

15 years agoMerge commit 'rammstein/master'
Simon Ruderich [Wed, 18 Feb 2009 20:03:43 +0000 (21:03 +0100)]
Merge commit 'rammstein/master'

Conflicts:

sync.sh

15 years agoRun status after a fetch in sync.sh.
Simon Ruderich [Wed, 18 Feb 2009 23:59:28 +0000 (00:59 +0100)]
Run status after a fetch in sync.sh.

So new changes are easily detected.

15 years agoRemove ".git" from repository output in sync.sh.
Simon Ruderich [Wed, 18 Feb 2009 23:50:17 +0000 (00:50 +0100)]
Remove ".git" from repository output in sync.sh.

Also improve status output.

15 years agoOnly print status output if git log did in sync.sh.
Simon Ruderich [Wed, 18 Feb 2009 20:01:03 +0000 (21:01 +0100)]
Only print status output if git log did in sync.sh.

15 years agoAdd status method to sync.sh.
Simon Ruderich [Wed, 18 Feb 2009 19:33:09 +0000 (20:33 +0100)]
Add status method to sync.sh.

This displays commits not on master for each git repository.

15 years agoRemove an unnecessary check in sync.sh.
Simon Ruderich [Wed, 18 Feb 2009 19:28:08 +0000 (20:28 +0100)]
Remove an unnecessary check in sync.sh.

This was a leftover from setup.sh but as sync.sh uses find to get the git
repositories they always exist.

15 years agoFix doc typo in sync.sh.
Simon Ruderich [Wed, 18 Feb 2009 19:24:52 +0000 (20:24 +0100)]
Fix doc typo in sync.sh.

15 years agoAdd shortcuts to sync.sh
Simon Ruderich [Wed, 18 Feb 2009 19:22:43 +0000 (20:22 +0100)]
Add shortcuts to sync.sh

fe for fetch, pu for push. Also improve the usage output if a wrong method was
used.

15 years agoUpdate doc for sync.sh.
Simon Ruderich [Wed, 18 Feb 2009 19:19:27 +0000 (20:19 +0100)]
Update doc for sync.sh.

15 years agosync.sh supports pushing to remotes.
Simon Ruderich [Wed, 18 Feb 2009 19:17:37 +0000 (20:17 +0100)]
sync.sh supports pushing to remotes.

`sync.sh` or `sync.sh fetch` fetches, `sync.sh push` pushes to all remotes.

15 years agoAdd sync.sh which fetches all remote branches.
Simon Ruderich [Wed, 18 Feb 2009 18:51:07 +0000 (19:51 +0100)]
Add sync.sh which fetches all remote branches.

All remote branches of all git repositories in or under this directory are
fetched.

15 years agoUse setup.sh instead of Makefile for setup process.
Simon Ruderich [Wed, 18 Feb 2009 17:38:42 +0000 (18:38 +0100)]
Use setup.sh instead of Makefile for setup process.

It is much easier to extend in the future.

15 years agoUse setup.sh instead of Makefile for setup process.
Simon Ruderich [Wed, 18 Feb 2009 17:38:03 +0000 (18:38 +0100)]
Use setup.sh instead of Makefile for setup process.

It is much easier to extend in the future.

15 years agoUse setup.sh instead of Makefile for setup process.
Simon Ruderich [Wed, 18 Feb 2009 17:37:15 +0000 (18:37 +0100)]
Use setup.sh instead of Makefile for setup process.

It is much easier to extend in the future.