]> ruderich.org/simon Gitweb - config/dotfiles.git/log
config/dotfiles.git
14 years agotigrc: Add bindings for easy moving in main screen.
Simon Ruderich [Sat, 3 Apr 2010 00:26:59 +0000 (02:26 +0200)]
tigrc: Add bindings for easy moving in main screen.

14 years agotigrc: Use main-author instead of author for older versions.
Simon Ruderich [Sat, 3 Apr 2010 00:17:01 +0000 (02:17 +0200)]
tigrc: Use main-author instead of author for older versions.

Older versions is for me 0.11.

14 years agoupdate.sh: Fix branch selection.
Simon Ruderich [Sat, 3 Apr 2010 00:11:38 +0000 (02:11 +0200)]
update.sh: Fix branch selection.

14 years agotigrc: Add gitk-like colors.
Simon Ruderich [Sat, 3 Apr 2010 00:08:36 +0000 (02:08 +0200)]
tigrc: Add gitk-like colors.

14 years agogitconfig: Also use pager for git clean.
Simon Ruderich [Sat, 3 Apr 2010 00:04:17 +0000 (02:04 +0200)]
gitconfig: Also use pager for git clean.

14 years agovimrc: Map jj to exit insert mode.
Simon Ruderich [Tue, 30 Mar 2010 23:29:15 +0000 (01:29 +0200)]
vimrc: Map jj to exit insert mode.

14 years agozsh/rc: Fix window_precmd() when running zsh as root through ssh.
Simon Ruderich [Tue, 30 Mar 2010 22:49:32 +0000 (00:49 +0200)]
zsh/rc: Fix window_precmd() when running zsh as root through ssh.

14 years agogitconfig: Also use a pager for git status.
Simon Ruderich [Tue, 30 Mar 2010 22:47:59 +0000 (00:47 +0200)]
gitconfig: Also use a pager for git status.

14 years agogitconfig: Automatically detect copies and renames.
Simon Ruderich [Tue, 30 Mar 2010 22:46:56 +0000 (00:46 +0200)]
gitconfig: Automatically detect copies and renames.

14 years agoshell/logout: Ignore errors if sudo isn't installed.
Simon Ruderich [Tue, 30 Mar 2010 22:33:08 +0000 (00:33 +0200)]
shell/logout: Ignore errors if sudo isn't installed.

14 years agozsh/rc: Fix window_title() if unknown TERM is used.
Simon Ruderich [Tue, 30 Mar 2010 22:30:42 +0000 (00:30 +0200)]
zsh/rc: Fix window_title() if unknown TERM is used.

14 years agoupdate.sh: Add, updates git repositories.
Simon Ruderich [Tue, 30 Mar 2010 22:23:18 +0000 (00:23 +0200)]
update.sh: Add, updates git repositories.

14 years agoshell/aliases: Don't alias vi to vim.
Simon Ruderich [Mon, 29 Mar 2010 05:48:11 +0000 (07:48 +0200)]
shell/aliases: Don't alias vi to vim.

This alias is pretty stupid.

14 years agolib.sh: Add support for FreeBSD to os().
Simon Ruderich [Mon, 29 Mar 2010 00:52:29 +0000 (02:52 +0200)]
lib.sh: Add support for FreeBSD to os().

14 years agolib.sh: Use simpler version in installed() using cut.
Simon Ruderich [Mon, 29 Mar 2010 00:48:04 +0000 (02:48 +0200)]
lib.sh: Use simpler version in installed() using cut.

14 years agolib.sh: Don't require perl in installed(), instead use awk.
Simon Ruderich [Mon, 29 Mar 2010 00:43:19 +0000 (02:43 +0200)]
lib.sh: Don't require perl in installed(), instead use awk.

14 years agolesskey: Improve less options description.
Simon Ruderich [Wed, 24 Mar 2010 20:10:52 +0000 (21:10 +0100)]
lesskey: Improve less options description.

14 years agovimrc: Fix last commit for Vims without eval.
Simon Ruderich [Sun, 21 Mar 2010 00:58:52 +0000 (01:58 +0100)]
vimrc: Fix last commit for Vims without eval.

14 years agovimrc: Don't reset 'runtimepath'.
Simon Ruderich [Sun, 21 Mar 2010 00:54:35 +0000 (01:54 +0100)]
vimrc: Don't reset 'runtimepath'.

14 years agozsh/rc: Simplify bindkey a little bit more.
Simon Ruderich [Tue, 16 Mar 2010 02:45:42 +0000 (03:45 +0100)]
zsh/rc: Simplify bindkey a little bit more.

viins is the default (after I run bindkey -v) and vicmd can be
abbreviated with -a.

14 years agozsh/rc: Bindkey can unbind multiple keys.
Simon Ruderich [Tue, 16 Mar 2010 01:15:42 +0000 (02:15 +0100)]
zsh/rc: Bindkey can unbind multiple keys.

14 years agozsh/rc: Also allow jj to exit insert mode.
Simon Ruderich [Tue, 16 Mar 2010 01:07:19 +0000 (02:07 +0100)]
zsh/rc: Also allow jj to exit insert mode.

14 years agozsh/rc: Disable arrow keys.
Simon Ruderich [Tue, 16 Mar 2010 01:06:05 +0000 (02:06 +0100)]
zsh/rc: Disable arrow keys.

14 years agozsh/rc: Create new key bindings section.
Simon Ruderich [Tue, 16 Mar 2010 01:04:50 +0000 (02:04 +0100)]
zsh/rc: Create new key bindings section.

14 years agozsh/rc: Improve stderr colorization script.
Simon Ruderich [Sun, 14 Mar 2010 22:58:58 +0000 (23:58 +0100)]
zsh/rc: Improve stderr colorization script.

Now also works with rm -i. No idea why it doesn't work with Git and su,
but most other things work fine.

14 years agozsh/rc: Use ' instead of " when possible, drop them if unnecessary.
Simon Ruderich [Sun, 14 Mar 2010 22:56:11 +0000 (23:56 +0100)]
zsh/rc: Use ' instead of " when possible, drop them if unnecessary.

14 years agogitconfig: Call git branch with -av.
Simon Ruderich [Sun, 14 Mar 2010 00:28:32 +0000 (01:28 +0100)]
gitconfig: Call git branch with -av.

14 years agogitconfig: Add some even shorter aliases.
Simon Ruderich [Sun, 14 Mar 2010 00:25:12 +0000 (01:25 +0100)]
gitconfig: Add some even shorter aliases.

14 years agosetup.sh: Add some debug output.
Simon Ruderich [Sun, 14 Mar 2010 00:21:18 +0000 (01:21 +0100)]
setup.sh: Add some debug output.

14 years agolib.sh: Fix installed() for which with no output in case of error.
Simon Ruderich [Sun, 14 Mar 2010 00:13:49 +0000 (01:13 +0100)]
lib.sh: Fix installed() for which with no output in case of error.

14 years agosetup.sh: If rxvt is installed remove a xterm "fix".
Simon Ruderich [Sat, 13 Mar 2010 23:55:40 +0000 (00:55 +0100)]
setup.sh: If rxvt is installed remove a xterm "fix".

14 years agosetup.sh: Don't call hostname multiple times.
Simon Ruderich [Sat, 13 Mar 2010 23:55:10 +0000 (00:55 +0100)]
setup.sh: Don't call hostname multiple times.

14 years agoscreenrc: Change hardstatus color when in copy mode.
Simon Ruderich [Sat, 13 Mar 2010 23:50:36 +0000 (00:50 +0100)]
screenrc: Change hardstatus color when in copy mode.

As this only works in recent Git versions drop this setting on older
versions.

14 years agosetup.sh: Be more compatible.
Simon Ruderich [Sat, 13 Mar 2010 22:01:19 +0000 (23:01 +0100)]
setup.sh: Be more compatible.

14 years agozsh/rc: window_title() optimization, only check TERM on startup.
Simon Ruderich [Sat, 13 Mar 2010 20:38:21 +0000 (21:38 +0100)]
zsh/rc: window_title() optimization, only check TERM on startup.

14 years agozsh/rc: Display @:hostname when running screen on remote host.
Simon Ruderich [Sat, 13 Mar 2010 18:03:21 +0000 (19:03 +0100)]
zsh/rc: Display @:hostname when running screen on remote host.

14 years agozsh/rc: Add global aliases for head and tail.
Simon Ruderich [Sat, 13 Mar 2010 17:30:48 +0000 (18:30 +0100)]
zsh/rc: Add global aliases for head and tail.

14 years agozsh/rc: Minor documentation fixes.
Simon Ruderich [Sat, 13 Mar 2010 17:30:03 +0000 (18:30 +0100)]
zsh/rc: Minor documentation fixes.

14 years agozsh/rc: Also simulate chpwd_functions for older Zsh.
Simon Ruderich [Sat, 13 Mar 2010 17:20:29 +0000 (18:20 +0100)]
zsh/rc: Also simulate chpwd_functions for older Zsh.

14 years agozsh/rc: Use correct spelling of vcs_info.
Simon Ruderich [Fri, 12 Mar 2010 20:20:15 +0000 (21:20 +0100)]
zsh/rc: Use correct spelling of vcs_info.

It's all lowercase!

14 years agovimrc: Only color the first 200 columns per line.
Simon Ruderich [Fri, 12 Mar 2010 03:13:29 +0000 (04:13 +0100)]
vimrc: Only color the first 200 columns per line.

14 years agovimrc: Don't redraw screen while executing macros.
Simon Ruderich [Fri, 12 Mar 2010 03:07:39 +0000 (04:07 +0100)]
vimrc: Don't redraw screen while executing macros.

14 years agovimrc: Don't store swap files in the same directory as the edited file.
Simon Ruderich [Fri, 12 Mar 2010 03:05:10 +0000 (04:05 +0100)]
vimrc: Don't store swap files in the same directory as the edited file.

14 years agovimrc: Use as little space as possible for numbers column.
Simon Ruderich [Fri, 12 Mar 2010 03:04:08 +0000 (04:04 +0100)]
vimrc: Use as little space as possible for numbers column.

14 years agovimrc: Unmap arrow keys.
Simon Ruderich [Fri, 12 Mar 2010 02:58:53 +0000 (03:58 +0100)]
vimrc: Unmap arrow keys.

14 years agoshell/aliases: Fix colors in normal ls.
Simon Ruderich [Thu, 11 Mar 2010 16:06:48 +0000 (17:06 +0100)]
shell/aliases: Fix colors in normal ls.

This bug was introduced in 0b47efd8a633ce89b988f5cd39410b8cfe3c37ae
where I forgot to add the -G.

14 years agozsh/rc: Run commands after everything else is done.
Simon Ruderich [Thu, 11 Mar 2010 15:38:57 +0000 (16:38 +0100)]
zsh/rc: Run commands after everything else is done.

14 years agozsh/rc: Only use %u/%c if VCS_Info is current enough.
Simon Ruderich [Thu, 11 Mar 2010 15:28:10 +0000 (16:28 +0100)]
zsh/rc: Only use %u/%c if VCS_Info is current enough.

This prevents a display problem in older versions.

14 years agozsh/rc: Also display staged/unstaged changes in actionformats.
Simon Ruderich [Thu, 11 Mar 2010 15:25:06 +0000 (16:25 +0100)]
zsh/rc: Also display staged/unstaged changes in actionformats.

14 years agozsh/rc: Minor documentation changes for VCS_Info.
Simon Ruderich [Thu, 11 Mar 2010 15:21:46 +0000 (16:21 +0100)]
zsh/rc: Minor documentation changes for VCS_Info.

14 years agoshell/aliases: Add new aliases p (less) and s (mpc).
Simon Ruderich [Thu, 11 Mar 2010 00:28:29 +0000 (01:28 +0100)]
shell/aliases: Add new aliases p (less) and s (mpc).

14 years agoshell/env: Also add ~/.bin to PATH if it exists.
Simon Ruderich [Thu, 11 Mar 2010 00:26:54 +0000 (01:26 +0100)]
shell/env: Also add ~/.bin to PATH if it exists.

14 years agoshell/aliases: Add lal() and update ll().
Simon Ruderich [Thu, 11 Mar 2010 00:24:10 +0000 (01:24 +0100)]
shell/aliases: Add lal() and update ll().

ll() now only displays files displayed by ls() as list, lal() displays
all files as list.

14 years agoscreenrc: Ignore case when searching.
Simon Ruderich [Thu, 11 Mar 2010 00:23:22 +0000 (01:23 +0100)]
screenrc: Ignore case when searching.

14 years agobash/rc: Documentation update.
Simon Ruderich [Thu, 11 Mar 2010 00:22:03 +0000 (01:22 +0100)]
bash/rc: Documentation update.

14 years agosetup.sh: "systemofadown" also supports 256 colors.
Simon Ruderich [Thu, 11 Mar 2010 00:17:30 +0000 (01:17 +0100)]
setup.sh: "systemofadown" also supports 256 colors.

14 years agosetup.sh: Make sure ~/.less is 0600.
Simon Ruderich [Thu, 11 Mar 2010 00:08:53 +0000 (01:08 +0100)]
setup.sh: Make sure ~/.less is 0600.

Let's be a "little" paranoid.

14 years agozsh/rc: Unstaged/stages changes are displayed in RPROMPT.
Simon Ruderich [Wed, 10 Mar 2010 23:35:48 +0000 (00:35 +0100)]
zsh/rc: Unstaged/stages changes are displayed in RPROMPT.

14 years agozsh/rc: Don't display + in prompt when running as subshell.
Simon Ruderich [Wed, 10 Mar 2010 23:15:08 +0000 (00:15 +0100)]
zsh/rc: Don't display + in prompt when running as subshell.

This is almost useless when using a terminal emulator and I seldom
create new subshells on my own.

14 years agozsh/rc: Simplify prompts with color variables.
Simon Ruderich [Wed, 10 Mar 2010 23:13:42 +0000 (00:13 +0100)]
zsh/rc: Simplify prompts with color variables.

No functional changes.

14 years agozsh/rc: Minor documentation fixes.
Simon Ruderich [Wed, 10 Mar 2010 23:01:40 +0000 (00:01 +0100)]
zsh/rc: Minor documentation fixes.

14 years agovimrc: Minor documentation updates.
Simon Ruderich [Wed, 10 Mar 2010 20:31:12 +0000 (21:31 +0100)]
vimrc: Minor documentation updates.

14 years agovimrc: Modelines are already disabled.
Simon Ruderich [Wed, 10 Mar 2010 18:12:54 +0000 (19:12 +0100)]
vimrc: Modelines are already disabled.

No need to disable them again.

14 years agovimrc: Reset all options on startup.
Simon Ruderich [Wed, 10 Mar 2010 17:51:00 +0000 (18:51 +0100)]
vimrc: Reset all options on startup.

14 years ago.gitignore: Also ignore additional zsh history files.
Simon Ruderich [Wed, 10 Mar 2010 15:59:21 +0000 (16:59 +0100)]
.gitignore: Also ignore additional zsh history files.

14 years agoscreenrc: Use a variable to build up hardstatus/caption.
Simon Ruderich [Wed, 10 Mar 2010 15:53:41 +0000 (16:53 +0100)]
screenrc: Use a variable to build up hardstatus/caption.

This makes it much easier to understand. No functional changes.

14 years agoshell/aliases: Add some more aliases from zsh/rc.
Simon Ruderich [Mon, 8 Mar 2010 17:30:11 +0000 (18:30 +0100)]
shell/aliases: Add some more aliases from zsh/rc.

In this case they are overwritten by better versions when zsh is used.

14 years agohgrc: Don't create ~/.hgignore.
Simon Ruderich [Mon, 8 Mar 2010 17:22:33 +0000 (18:22 +0100)]
hgrc: Don't create ~/.hgignore.

Instead just use the file in here and update hgrc to use it. Also update
setup.sh.

The reduces the pollution of my home directory.

14 years agobash/rc: Minor whitespace fix.
Simon Ruderich [Mon, 8 Mar 2010 16:55:53 +0000 (17:55 +0100)]
bash/rc: Minor whitespace fix.

14 years agobash/rc, zsh/rc: Move aliases to shell/aliases.
Simon Ruderich [Mon, 8 Mar 2010 16:49:54 +0000 (17:49 +0100)]
bash/rc, zsh/rc: Move aliases to shell/aliases.

Also make them more compatible with less capable shells/ls.

14 years agozsh/rc: Drop title stumpwm support.
Simon Ruderich [Sun, 7 Mar 2010 21:19:26 +0000 (22:19 +0100)]
zsh/rc: Drop title stumpwm support.

14 years agolib.sh: Add support for less capable sh/test.
Simon Ruderich [Sun, 7 Mar 2010 21:03:53 +0000 (22:03 +0100)]
lib.sh: Add support for less capable sh/test.

14 years agolib.sh: Add support for Solaris to os().
Simon Ruderich [Sun, 7 Mar 2010 21:00:34 +0000 (22:00 +0100)]
lib.sh: Add support for Solaris to os().

14 years agotests/lib.sh.test: Use return instead of exit in a subshell.
Simon Ruderich [Sun, 7 Mar 2010 20:59:03 +0000 (21:59 +0100)]
tests/lib.sh.test: Use return instead of exit in a subshell.

14 years agolib.sh: Documentation cleanup.
Simon Ruderich [Sun, 7 Mar 2010 20:57:58 +0000 (21:57 +0100)]
lib.sh: Documentation cleanup.

14 years agosetup.sh: Only setup colordiff if installed.
Simon Ruderich [Sun, 7 Mar 2010 20:08:37 +0000 (21:08 +0100)]
setup.sh: Only setup colordiff if installed.

14 years agotests/run.sh: Don't require diff -N.
Simon Ruderich [Sun, 7 Mar 2010 19:55:19 +0000 (20:55 +0100)]
tests/run.sh: Don't require diff -N.

14 years agolib.sh: Improve installed() to work with more which.
Simon Ruderich [Sun, 7 Mar 2010 20:49:57 +0000 (21:49 +0100)]
lib.sh: Improve installed() to work with more which.

Also add tests to check for different which implementations.

14 years agozsh/rc: Improve script which colors stderr red.
Simon Ruderich [Sun, 7 Mar 2010 19:07:05 +0000 (20:07 +0100)]
zsh/rc: Improve script which colors stderr red.

Thanks to Mikachu.

14 years agosetup.sh: Fix when running on unsupported OS.
Simon Ruderich [Sun, 7 Mar 2010 17:56:46 +0000 (18:56 +0100)]
setup.sh: Fix when running on unsupported OS.

14 years agoarchive.sh: Create a gzipped archive.
Simon Ruderich [Sun, 7 Mar 2010 15:18:12 +0000 (16:18 +0100)]
archive.sh: Create a gzipped archive.

14 years agoarchive.sh: Add, creates an archive of important files.
Simon Ruderich [Sun, 7 Mar 2010 15:15:07 +0000 (16:15 +0100)]
archive.sh: Add, creates an archive of important files.

14 years agosetup.sh: Remove git setup, now only setup.sh in each directory is run.
Simon Ruderich [Sun, 7 Mar 2010 15:07:27 +0000 (16:07 +0100)]
setup.sh: Remove git setup, now only setup.sh in each directory is run.

The setup stuff wasn't used and can be easily done by hand.

14 years agosetup.sh: Add support for find without -executable.
Simon Ruderich [Sun, 7 Mar 2010 15:06:20 +0000 (16:06 +0100)]
setup.sh: Add support for find without -executable.

14 years agoREADME: Minor doc fixes.
Simon Ruderich [Sun, 7 Mar 2010 15:05:41 +0000 (16:05 +0100)]
README: Minor doc fixes.

14 years agosetup.sh: Only create git configs when it's available.
Simon Ruderich [Sun, 7 Mar 2010 14:16:25 +0000 (15:16 +0100)]
setup.sh: Only create git configs when it's available.

14 years agoxmodmaprc: Use caps lock as ctrl instead of as escape.
Simon Ruderich [Sun, 7 Mar 2010 14:13:05 +0000 (15:13 +0100)]
xmodmaprc: Use caps lock as ctrl instead of as escape.

14 years agoxpdfrc: Add, xpdf configuration file.
Simon Ruderich [Sun, 7 Mar 2010 14:06:22 +0000 (15:06 +0100)]
xpdfrc: Add, xpdf configuration file.

14 years agozsh: Fix documentation typos.
Simon Ruderich [Mon, 1 Feb 2010 12:11:49 +0000 (13:11 +0100)]
zsh: Fix documentation typos.

14 years agozsh: Documentation updates.
Simon Ruderich [Mon, 1 Feb 2010 12:03:20 +0000 (13:03 +0100)]
zsh: Documentation updates.

14 years agozsh: Autoload zmv.
Simon Ruderich [Mon, 1 Feb 2010 11:59:09 +0000 (12:59 +0100)]
zsh: Autoload zmv.

14 years agoshell: Don't use LC_ALL.
Simon Ruderich [Mon, 1 Feb 2010 11:52:34 +0000 (12:52 +0100)]
shell: Don't use LC_ALL.

14 years agozsh: Move OS specific settings to zsh/rc.
Simon Ruderich [Sun, 17 Jan 2010 17:48:47 +0000 (18:48 +0100)]
zsh: Move OS specific settings to zsh/rc.

14 years agoshell: Also export TEMP just to be sure.
Simon Ruderich [Sun, 17 Jan 2010 15:15:22 +0000 (16:15 +0100)]
shell: Also export TEMP just to be sure.

14 years agoshell: Only use ~/tmp if it's owned by the current user.
Simon Ruderich [Sun, 17 Jan 2010 15:07:16 +0000 (16:07 +0100)]
shell: Only use ~/tmp if it's owned by the current user.

14 years agozsh: Remove now unnecessary file.
Simon Ruderich [Sun, 17 Jan 2010 15:02:13 +0000 (16:02 +0100)]
zsh: Remove now unnecessary file.

~/bin is already added to PATH by shell/env.

14 years agoshell: Add ~/bin to PATH if available.
Simon Ruderich [Sun, 17 Jan 2010 14:57:16 +0000 (15:57 +0100)]
shell: Add ~/bin to PATH if available.

14 years agozsh: Make sure elements in PATH are unique.
Simon Ruderich [Sun, 17 Jan 2010 14:56:30 +0000 (15:56 +0100)]
zsh: Make sure elements in PATH are unique.

14 years agoshell: Use ~/tmp as tempdir if available.
Simon Ruderich [Sun, 17 Jan 2010 14:42:08 +0000 (15:42 +0100)]
shell: Use ~/tmp as tempdir if available.

14 years agozsh: Update ^P/^N to enter Vi-mode.
Simon Ruderich [Sun, 17 Jan 2010 14:27:35 +0000 (15:27 +0100)]
zsh: Update ^P/^N to enter Vi-mode.