]> ruderich.org/simon Gitweb - config/dotfiles.git/log
config/dotfiles.git
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.

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

15 years agozsh/rc: Add aliases for gitk and tig.
Simon Ruderich [Wed, 13 May 2009 13:23:45 +0000 (15:23 +0200)]
zsh/rc: Add aliases for gitk and tig.

200 commits in all branches (except stash) are shown.

15 years agozsh/rc: Don't use vim -p.
Simon Ruderich [Wed, 13 May 2009 13:21:30 +0000 (15:21 +0200)]
zsh/rc: Don't use vim -p.

I use buffers now.

15 years agoscreenrc: Documentation improvement.
Simon Ruderich [Tue, 12 May 2009 18:49:44 +0000 (20:49 +0200)]
screenrc: Documentation improvement.

15 years agohost/rc.rammstein: Remove screen attachment.
Simon Ruderich [Fri, 8 May 2009 12:43:23 +0000 (14:43 +0200)]
host/rc.rammstein: Remove screen attachment.

This is already handled by the main Zsh rc.

15 years agozsh: Fix attachment to running screen sessions.
Simon Ruderich [Fri, 8 May 2009 12:42:26 +0000 (14:42 +0200)]
zsh: Fix attachment to running screen sessions.

15 years agozsh: Reorder aliases and functions section.
Simon Ruderich [Fri, 24 Apr 2009 22:16:27 +0000 (00:16 +0200)]
zsh: Reorder aliases and functions section.

Now they are ordered more logically. No functional changes.

15 years agozsh: Remove superfluous comments.
Simon Ruderich [Fri, 24 Apr 2009 22:14:51 +0000 (00:14 +0200)]
zsh: Remove superfluous comments.

15 years agozsh: Remove useless todo function.
Simon Ruderich [Fri, 24 Apr 2009 22:08:20 +0000 (00:08 +0200)]
zsh: Remove useless todo function.

15 years agozsh: Fix documentation typo.
Simon Ruderich [Tue, 21 Apr 2009 19:11:20 +0000 (21:11 +0200)]
zsh: Fix documentation typo.

15 years agozsh: Support VCS_Info in versions earlier than 4.3.9.
Simon Ruderich [Tue, 21 Apr 2009 19:07:18 +0000 (21:07 +0200)]
zsh: Support VCS_Info in versions earlier than 4.3.9.

The VCS_Info files must be available in ~/.zsh/functions/vcs_info for this to
work. A symbolic link can be used.

15 years agozsh: Load current completions if available.
Simon Ruderich [Mon, 20 Apr 2009 15:45:54 +0000 (17:45 +0200)]
zsh: Load current completions if available.

I use a CVS (or to be more precise Git) checkout of Zsh to get the current
completions.

15 years agozsh: Add new global alias S which calls sort.
Simon Ruderich [Wed, 8 Apr 2009 12:13:03 +0000 (14:13 +0200)]
zsh: Add new global alias S which calls sort.

15 years agozsh: Add new global alias E which performs 2>&1.
Simon Ruderich [Wed, 8 Apr 2009 12:11:25 +0000 (14:11 +0200)]
zsh: Add new global alias E which performs 2>&1.

Not sure how I came up with this name but I like it.

15 years agozsh/os: Add rc.Linux for linux hosts.
Simon Ruderich [Tue, 31 Mar 2009 15:37:14 +0000 (17:37 +0200)]
zsh/os: Add rc.Linux for linux hosts.

Contains only settings for Debian packages at the moment.

15 years agozsh: Use -n consistently in window name feature.
Simon Ruderich [Tue, 31 Mar 2009 15:35:53 +0000 (17:35 +0200)]
zsh: Use -n consistently in window name feature.

15 years agozsh: Add documentation to window name feature.
Simon Ruderich [Tue, 31 Mar 2009 15:33:26 +0000 (17:33 +0200)]
zsh: Add documentation to window name feature.

15 years agozsh: Make sure entries in $fpath are unique.
Simon Ruderich [Tue, 31 Mar 2009 15:31:56 +0000 (17:31 +0200)]
zsh: Make sure entries in $fpath are unique.

15 years agozsh: Also add ! to command name when running zsh as root.
Simon Ruderich [Wed, 25 Mar 2009 13:25:40 +0000 (14:25 +0100)]
zsh: Also add ! to command name when running zsh as root.

15 years agozsh: Fix 62d757146f6bcf1f4951059769239db024144812.
Simon Ruderich [Tue, 24 Mar 2009 22:34:50 +0000 (23:34 +0100)]
zsh: Fix 62d757146f6bcf1f4951059769239db024144812.

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