]> ruderich.org/simon Gitweb - config/dotfiles.git/log
config/dotfiles.git
14 years agozsh/rc: Minor documentation fix.
Simon Ruderich [Mon, 16 Aug 2010 15:21:12 +0000 (17:21 +0200)]
zsh/rc: Minor documentation fix.

14 years agogitconfig: Also use the pager with tag.
Simon Ruderich [Sun, 25 Jul 2010 22:28:02 +0000 (00:28 +0200)]
gitconfig: Also use the pager with tag.

14 years agozsh/rc: Minor documentation fix.
Simon Ruderich [Sat, 24 Jul 2010 09:08:35 +0000 (11:08 +0200)]
zsh/rc: Minor documentation fix.

14 years agozsh/rc: Add fallback completer to ^F which always completes files.
Simon Ruderich [Sat, 24 Jul 2010 09:03:48 +0000 (11:03 +0200)]
zsh/rc: Add fallback completer to ^F which always completes files.

14 years agoshell/env: Remove unnecessary "function".
Simon Ruderich [Sat, 24 Jul 2010 08:59:30 +0000 (10:59 +0200)]
shell/env: Remove unnecessary "function".

14 years agoshell/aliases: Add aliases for ls (l) and cd (d).
Simon Ruderich [Sat, 24 Jul 2010 08:55:19 +0000 (10:55 +0200)]
shell/aliases: Add aliases for ls (l) and cd (d).

14 years agoshell/aliases: Remove unnecessary quotes.
Simon Ruderich [Sat, 24 Jul 2010 08:50:10 +0000 (10:50 +0200)]
shell/aliases: Remove unnecessary quotes.

14 years agogitconfig: Allow diffing of PDF files.
Simon Ruderich [Mon, 5 Jul 2010 19:12:21 +0000 (21:12 +0200)]
gitconfig: Allow diffing of PDF files.

14 years agogitconfig: Add another alias.
Simon Ruderich [Mon, 5 Jul 2010 19:11:26 +0000 (21:11 +0200)]
gitconfig: Add another alias.

14 years agogitconfig: Remove "custom commands" distinction.
Simon Ruderich [Mon, 5 Jul 2010 19:10:30 +0000 (21:10 +0200)]
gitconfig: Remove "custom commands" distinction.

14 years agogitconfig: Add some more aliases.
Simon Ruderich [Mon, 5 Jul 2010 19:08:42 +0000 (21:08 +0200)]
gitconfig: Add some more aliases.

14 years agogitconfig: Add comment.
Simon Ruderich [Mon, 5 Jul 2010 19:06:30 +0000 (21:06 +0200)]
gitconfig: Add comment.

14 years agozsh/rc: Prevent error when running on a different TERM.
Simon Ruderich [Mon, 21 Jun 2010 12:54:03 +0000 (14:54 +0200)]
zsh/rc: Prevent error when running on a different TERM.

This happened because window_preexec() is only defined if TERM is
screen*, xterm* or rxvt*. On other TERMs the call to window_preexec() in
"RUN COMMANDS" failed.

14 years agozsh/rc: Minor documentation fix.
Simon Ruderich [Mon, 21 Jun 2010 12:51:47 +0000 (14:51 +0200)]
zsh/rc: Minor documentation fix.

14 years agozsh/rc: Use @:!hostname for remote root screens in window_preexec.
Simon Ruderich [Mon, 21 Jun 2010 12:47:08 +0000 (14:47 +0200)]
zsh/rc: Use @:!hostname for remote root screens in window_preexec.

14 years agozsh/rc: Use a multiline prompt.
Simon Ruderich [Mon, 24 May 2010 17:09:12 +0000 (19:09 +0200)]
zsh/rc: Use a multiline prompt.

Now the current username is also displayed.

14 years agogitconfig: Use threads with git format-patch.
Simon Ruderich [Sat, 22 May 2010 00:02:51 +0000 (02:02 +0200)]
gitconfig: Use threads with git format-patch.

14 years agogitconfig: Fix comment.
Simon Ruderich [Sat, 22 May 2010 00:01:30 +0000 (02:01 +0200)]
gitconfig: Fix comment.

14 years agozsh/rc: Minor documentation updates.
Simon Ruderich [Mon, 17 May 2010 10:39:02 +0000 (12:39 +0200)]
zsh/rc: Minor documentation updates.

14 years agozsh/rc: Also set RPROMPT in a precmd() hook.
Simon Ruderich [Mon, 17 May 2010 10:36:23 +0000 (12:36 +0200)]
zsh/rc: Also set RPROMPT in a precmd() hook.

14 years agozsh/rc: Set PROMPT in a precmd() hook.
Simon Ruderich [Mon, 17 May 2010 10:34:24 +0000 (12:34 +0200)]
zsh/rc: Set PROMPT in a precmd() hook.

14 years agozsh/rc: Move prompt below vcs_info.
Simon Ruderich [Mon, 17 May 2010 10:29:53 +0000 (12:29 +0200)]
zsh/rc: Move prompt below vcs_info.

No functional changes.

14 years agozsh/rc: Use caching with vcs_info to speed up the prompt.
Simon Ruderich [Mon, 17 May 2010 09:57:31 +0000 (11:57 +0200)]
zsh/rc: Use caching with vcs_info to speed up the prompt.

14 years agoMakefile: Use && with cd.
Simon Ruderich [Tue, 11 May 2010 21:00:53 +0000 (23:00 +0200)]
Makefile: Use && with cd.

14 years agotigrc: Unbind all commands which may change the repository.
Simon Ruderich [Sat, 8 May 2010 08:36:18 +0000 (10:36 +0200)]
tigrc: Unbind all commands which may change the repository.

This needs a version newer than 0.15 (it's a noop on older versions).

14 years agogitconfig: Add t alias for tag.
Simon Ruderich [Sat, 8 May 2010 08:29:35 +0000 (10:29 +0200)]
gitconfig: Add t alias for tag.

14 years agozsh/rc: Fix title when using screen.
Simon Ruderich [Sat, 24 Apr 2010 22:56:25 +0000 (00:56 +0200)]
zsh/rc: Fix title when using screen.

This bug was introduced in 81fe12757189bc144a22271f5bc669dd98ea2c37.

14 years agozsh/rc: Use exec when automatically starting screen.
Simon Ruderich [Fri, 23 Apr 2010 20:07:04 +0000 (22:07 +0200)]
zsh/rc: Use exec when automatically starting screen.

This needs one less shell on the server and makes it faster to detach
(no need to exit the first shell).

14 years agoMerge remote branch 'rammstein/master'
Simon Ruderich [Fri, 23 Apr 2010 20:01:17 +0000 (22:01 +0200)]
Merge remote branch 'rammstein/master'

14 years agozsh/rc: Only call uname once.
Simon Ruderich [Fri, 23 Apr 2010 10:26:48 +0000 (12:26 +0200)]
zsh/rc: Only call uname once.

14 years agozsh/rc: Ignore same values in current line for all commands except cp/mv.
Simon Ruderich [Fri, 23 Apr 2010 10:25:36 +0000 (12:25 +0200)]
zsh/rc: Ignore same values in current line for all commands except cp/mv.

14 years agozsh/rc: Fix wrong handling of vi in title code.
Simon Ruderich [Fri, 23 Apr 2010 10:24:47 +0000 (12:24 +0200)]
zsh/rc: Fix wrong handling of vi in title code.

vi and vim (v) are different!

14 years agozsh/rc: Minor documentation update.
Simon Ruderich [Fri, 23 Apr 2010 10:20:37 +0000 (12:20 +0200)]
zsh/rc: Minor documentation update.

14 years agoscreenrc: Use zsh as shell.
Simon Ruderich [Fri, 23 Apr 2010 10:20:10 +0000 (12:20 +0200)]
screenrc: Use zsh as shell.

14 years agozsh/rc: Handle whitespace/quotes correctly when aborting commands.
Simon Ruderich [Mon, 5 Apr 2010 12:59:11 +0000 (14:59 +0200)]
zsh/rc: Handle whitespace/quotes correctly when aborting commands.

14 years agotigrc: Add ft=muttrc modeline as it's very similar.
Simon Ruderich [Sat, 3 Apr 2010 20:58:13 +0000 (22:58 +0200)]
tigrc: Add ft=muttrc modeline as it's very similar.

14 years agotigrc: Add some more colors.
Simon Ruderich [Sat, 3 Apr 2010 20:58:03 +0000 (22:58 +0200)]
tigrc: Add some more colors.

14 years agotigrc: Add some more key bindings.
Simon Ruderich [Sat, 3 Apr 2010 20:41:35 +0000 (22:41 +0200)]
tigrc: Add some more key bindings.

14 years agotigrc: Minor whitespace fix.
Simon Ruderich [Sat, 3 Apr 2010 01:09:30 +0000 (03:09 +0200)]
tigrc: Minor whitespace fix.

14 years agotigrc: Use relative dates.
Simon Ruderich [Sat, 3 Apr 2010 00:30:51 +0000 (02:30 +0200)]
tigrc: Use relative dates.

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 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 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 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 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 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.