]> ruderich.org/simon Gitweb - config/dotfiles.git/log
config/dotfiles.git
13 years agoMakefile: Use && with cd.
Simon Ruderich [Tue, 11 May 2010 21:00:53 +0000 (23:00 +0200)]
Makefile: Use && with cd.

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

14 years agoscreenrc: Remove xon/xoff bindings.
Simon Ruderich [Sat, 26 Dec 2009 03:10:17 +0000 (04:10 +0100)]
screenrc: Remove xon/xoff bindings.

They can "freeze" the display and I don't need them.

14 years agoMerge commit 'rammstein/master'
Simon Ruderich [Sat, 14 Nov 2009 14:02:37 +0000 (15:02 +0100)]
Merge commit 'rammstein/master'

14 years agozsh: Add global alias U for uniq.
Simon Ruderich [Sat, 14 Nov 2009 13:29:23 +0000 (14:29 +0100)]
zsh: Add global alias U for uniq.

14 years agozsh: Also work when .zsh/functions is not available.
Simon Ruderich [Thu, 8 Oct 2009 01:37:19 +0000 (03:37 +0200)]
zsh: Also work when .zsh/functions is not available.

14 years agoscreenrc: Remove some bindings I don't use.
Simon Ruderich [Tue, 6 Oct 2009 21:45:10 +0000 (23:45 +0200)]
screenrc: Remove some bindings I don't use.

14 years agoscreenrc: Add section names.
Simon Ruderich [Tue, 6 Oct 2009 21:42:46 +0000 (23:42 +0200)]
screenrc: Add section names.

14 years agozsh: Support @ in window titles when using clear.
Simon Ruderich [Wed, 26 Aug 2009 20:49:02 +0000 (22:49 +0200)]
zsh: Support @ in window titles when using clear.

14 years agoshell: Remove sudo rights when logging out.
Simon Ruderich [Thu, 13 Aug 2009 17:26:36 +0000 (19:26 +0200)]
shell: Remove sudo rights when logging out.

14 years agozsh: Increase history size.
Simon Ruderich [Thu, 13 Aug 2009 17:22:42 +0000 (19:22 +0200)]
zsh: Increase history size.

This makes sure I don't loose any commands I might need later again.

14 years agozsh: Disable beeps.
Simon Ruderich [Thu, 13 Aug 2009 17:21:25 +0000 (19:21 +0200)]
zsh: Disable beeps.

14 years agoscreenrc: Minor documentation improvement.
Simon Ruderich [Wed, 12 Aug 2009 17:59:11 +0000 (19:59 +0200)]
screenrc: Minor documentation improvement.

14 years agozsh: Move window naming alias to alias section.
Simon Ruderich [Mon, 3 Aug 2009 11:20:00 +0000 (13:20 +0200)]
zsh: Move window naming alias to alias section.

14 years agozsh: Add support for rxvt.
Simon Ruderich [Mon, 3 Aug 2009 11:02:08 +0000 (13:02 +0200)]
zsh: Add support for rxvt.

14 years agoscreenrc: Use white on blue background for messages.
Simon Ruderich [Tue, 28 Jul 2009 01:47:54 +0000 (03:47 +0200)]
screenrc: Use white on blue background for messages.

14 years agozsh: Update host name from peters-g5 to nightwish.
Simon Ruderich [Thu, 23 Jul 2009 21:41:15 +0000 (23:41 +0200)]
zsh: Update host name from peters-g5 to nightwish.

14 years agoscreenrc: Documentation update.
Simon Ruderich [Thu, 23 Jul 2009 21:39:51 +0000 (23:39 +0200)]
screenrc: Documentation update.

14 years agozsh: Fix TRAPINT to work with lines starting with -.
Simon Ruderich [Tue, 7 Jul 2009 19:50:26 +0000 (21:50 +0200)]
zsh: Fix TRAPINT to work with lines starting with -.

14 years agoscreenrc: Color caption.
Simon Ruderich [Fri, 3 Jul 2009 22:30:16 +0000 (00:30 +0200)]
screenrc: Color caption.

14 years agoscreenrc: Document hardstatus.
Simon Ruderich [Tue, 30 Jun 2009 23:05:03 +0000 (01:05 +0200)]
screenrc: Document hardstatus.

14 years agoscreenrc: Always display the caption.
Simon Ruderich [Thu, 25 Jun 2009 13:04:14 +0000 (15:04 +0200)]
screenrc: Always display the caption.

14 years agoscreenrc: Display system load in hardstatus.
Simon Ruderich [Thu, 25 Jun 2009 13:02:39 +0000 (15:02 +0200)]
screenrc: Display system load in hardstatus.

14 years agoscreenrc: Use visual bell.
Simon Ruderich [Thu, 25 Jun 2009 13:02:22 +0000 (15:02 +0200)]
screenrc: Use visual bell.

14 years agoscreenrc: Simplify hardstatus option.
Simon Ruderich [Fri, 19 Jun 2009 20:14:41 +0000 (22:14 +0200)]
screenrc: Simplify hardstatus option.

No functional changes.

14 years agolesskey: Map h and l like in Vim.
Simon Ruderich [Wed, 17 Jun 2009 09:35:35 +0000 (11:35 +0200)]
lesskey: Map h and l like in Vim.

14 years agozsh: Add shortcut alias for clear.
Simon Ruderich [Thu, 11 Jun 2009 13:58:09 +0000 (15:58 +0200)]
zsh: Add shortcut alias for clear.

14 years agozsh: clear sets window title to ".zsh".
Simon Ruderich [Sun, 7 Jun 2009 17:44:38 +0000 (19:44 +0200)]
zsh: clear sets window title to ".zsh".

14 years agozsh: Documentation updates for window name feature.
Simon Ruderich [Sat, 6 Jun 2009 18:02:03 +0000 (20:02 +0200)]
zsh: Documentation updates for window name feature.

14 years agozsh: Only use stumpish when stumpwm is running.
Simon Ruderich [Sat, 6 Jun 2009 18:00:51 +0000 (20:00 +0200)]
zsh: Only use stumpish when stumpwm is running.

14 years agosetup.sh: Use 256 color mode only on supported systems.
Simon Ruderich [Wed, 27 May 2009 15:25:22 +0000 (17:25 +0200)]
setup.sh: Use 256 color mode only on supported systems.

14 years agoscreenrc: Enable 256 colors.
Simon Ruderich [Wed, 27 May 2009 15:01:03 +0000 (17:01 +0200)]
screenrc: Enable 256 colors.

14 years agoscreenrc: Remove unnecessary command.
Simon Ruderich [Wed, 27 May 2009 14:56:27 +0000 (16:56 +0200)]
screenrc: Remove unnecessary command.

I'm using an English keyboard now where Ctrl-] is very easy to reach.

14 years agobash/host/rc.zucker: Replace bash with zsh.
Simon Ruderich [Sat, 23 May 2009 12:40:53 +0000 (14:40 +0200)]
bash/host/rc.zucker: Replace bash with zsh.