]>
ruderich.org/simon Gitweb - config/dotfiles.git/log
Simon Ruderich [Sun, 22 Mar 2009 17:56:45 +0000 (18:56 +0100)]
vimrc: Be more compatible with less capable versions.
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.
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.
Simon Ruderich [Fri, 20 Mar 2009 23:30:43 +0000 (00:30 +0100)]
rc: Add section names.
Simon Ruderich [Fri, 20 Mar 2009 23:30:14 +0000 (00:30 +0100)]
rc: Documentation fix.
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.
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.
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.
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.
Simon Ruderich [Sun, 15 Mar 2009 13:51:59 +0000 (14:51 +0100)]
tests: Add test for m4() with multiple arguments.
Simon Ruderich [Mon, 16 Mar 2009 15:36:25 +0000 (16:36 +0100)]
lib.sh: Add Gentoo support to os().
Simon Ruderich [Sun, 15 Mar 2009 13:33:04 +0000 (14:33 +0100)]
setup.sh: Add missing shebang.
Simon Ruderich [Sun, 15 Mar 2009 13:32:18 +0000 (14:32 +0100)]
setup.sh: Add missing shebang.
Simon Ruderich [Sun, 15 Mar 2009 13:31:57 +0000 (14:31 +0100)]
setup.sh: Add missing shebang.
Simon Ruderich [Sun, 15 Mar 2009 13:31:35 +0000 (14:31 +0100)]
setup.sh: Add missing shebang.
Simon Ruderich [Sun, 15 Mar 2009 13:31:18 +0000 (14:31 +0100)]
setup.sh: Add missing shebang.
Simon Ruderich [Sun, 15 Mar 2009 13:30:49 +0000 (14:30 +0100)]
setup.sh: Add missing shebang.
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.
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.
Simon Ruderich [Sat, 14 Mar 2009 15:20:31 +0000 (16:20 +0100)]
xinitrc: Add Vim modeline.
Simon Ruderich [Sat, 14 Mar 2009 15:04:29 +0000 (16:04 +0100)]
xinitrc: Use black background.
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.
Simon Ruderich [Sat, 14 Mar 2009 15:10:02 +0000 (16:10 +0100)]
vimrc: Minor indentation fix.
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.
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.
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.
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.
Simon Ruderich [Tue, 10 Mar 2009 17:13:04 +0000 (18:13 +0100)]
zsh: Try to fix mistakes when completing.
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.
Simon Ruderich [Tue, 10 Mar 2009 16:35:24 +0000 (17:35 +0100)]
zsh: Reorder completion settings.
No functional changes.
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.
Simon Ruderich [Tue, 10 Mar 2009 16:07:26 +0000 (17:07 +0100)]
zsh: Set window title to current program in stumpwm.
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.
Simon Ruderich [Mon, 9 Mar 2009 08:02:02 +0000 (09:02 +0100)]
Add Xdefaults file.
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.
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, ...)
Simon Ruderich [Sun, 1 Mar 2009 15:36:46 +0000 (16:36 +0100)]
sync.sh: Status also displays unpushed commits.
Simon Ruderich [Sun, 1 Mar 2009 15:34:33 +0000 (16:34 +0100)]
git: Use opendiff as merge tool on Mac OS X.
Simon Ruderich [Sun, 1 Mar 2009 15:31:37 +0000 (16:31 +0100)]
tests: Add tests for m4() in lib.sh.
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.
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.
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.
Simon Ruderich [Sat, 28 Feb 2009 22:38:12 +0000 (23:38 +0100)]
Add crontab 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.
Simon Ruderich [Sat, 28 Feb 2009 22:35:19 +0000 (23:35 +0100)]
Add perl after filetype to allow folding.
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.
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.
Simon Ruderich [Sat, 28 Feb 2009 16:53:39 +0000 (17:53 +0100)]
Merge commit 'simpleplan/master'
Simon Ruderich [Sat, 28 Feb 2009 17:22:29 +0000 (11:22 -0600)]
screen: Display hostname in the hardstatus line.
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.
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.
Simon Ruderich [Thu, 26 Feb 2009 20:27:15 +0000 (14:27 -0600)]
stumpwm: Add section names.
Simon Ruderich [Thu, 26 Feb 2009 19:26:45 +0000 (13:26 -0600)]
Only create links if applications are installed.
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.
Simon Ruderich [Thu, 26 Feb 2009 18:26:17 +0000 (12:26 -0600)]
Expand aliases when using sudo.
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.
Simon Ruderich [Tue, 24 Feb 2009 22:37:15 +0000 (23:37 +0100)]
Minor documentation fix.
Use proper line length.
Simon Ruderich [Tue, 24 Feb 2009 21:09:06 +0000 (22:09 +0100)]
Add Vim modeline to lib.sh.test.
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.
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.
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.
Simon Ruderich [Mon, 23 Feb 2009 17:57:30 +0000 (11:57 -0600)]
Only create links for mercurial if it's installed.
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.
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.
Simon Ruderich [Mon, 23 Feb 2009 17:39:21 +0000 (11:39 -0600)]
Always use Vim as editor for Git.
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.
Simon Ruderich [Mon, 23 Feb 2009 00:44:49 +0000 (18:44 -0600)]
Initial import with configuration for stumpwm.
Simon Ruderich [Sun, 22 Feb 2009 15:59:48 +0000 (09:59 -0600)]
Add Vim modeline.
Simon Ruderich [Sun, 22 Feb 2009 15:59:32 +0000 (09:59 -0600)]
Merge commit 'rammstein/master'
Simon Ruderich [Sun, 22 Feb 2009 14:27:55 +0000 (15:27 +0100)]
Fallback to clear if clear_console is not found in logout.
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.
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.
Simon Ruderich [Sun, 22 Feb 2009 00:02:19 +0000 (18:02 -0600)]
Be more compatible in shell/env.
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.
Simon Ruderich [Sat, 21 Feb 2009 23:04:43 +0000 (17:04 -0600)]
setup.sh runs gc on newly created repositories.
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.
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.
Simon Ruderich [Sat, 21 Feb 2009 22:27:08 +0000 (16:27 -0600)]
Fix leaking a variable in lib.sh.
Simon Ruderich [Sat, 21 Feb 2009 20:05:44 +0000 (21:05 +0100)]
Don't use local in source_config().
Simon Ruderich [Sat, 21 Feb 2009 19:52:59 +0000 (20:52 +0100)]
Test if variables are leaked in source_config().
Simon Ruderich [Sat, 21 Feb 2009 01:02:54 +0000 (19:02 -0600)]
Find git directories in setup.sh automatically.
Simon Ruderich [Sat, 21 Feb 2009 00:42:28 +0000 (18:42 -0600)]
Improve documentation in setup.sh.
Simon Ruderich [Sat, 21 Feb 2009 00:14:21 +0000 (18:14 -0600)]
Fix doc typo in setup.sh.
Simon Ruderich [Fri, 20 Feb 2009 20:46:36 +0000 (21:46 +0100)]
Forgot to replace one source in tests/.
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.
Simon Ruderich [Fri, 20 Feb 2009 17:37:35 +0000 (18:37 +0100)]
Only load ~/.bashrc if it's available.
Also add Vim modeline.
Simon Ruderich [Wed, 18 Feb 2009 20:03:43 +0000 (21:03 +0100)]
Merge commit 'rammstein/master'
Conflicts:
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.
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.
Simon Ruderich [Wed, 18 Feb 2009 20:01:03 +0000 (21:01 +0100)]
Only print status output if git log did in 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.
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.
Simon Ruderich [Wed, 18 Feb 2009 19:24:52 +0000 (20:24 +0100)]
Fix doc typo in 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.
Simon Ruderich [Wed, 18 Feb 2009 19:19:27 +0000 (20:19 +0100)]
Update doc for sync.sh.
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.
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.
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.
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.
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.