]>
ruderich.org/simon Gitweb - config/dotfiles.git/log
Simon Ruderich [Sat, 18 Sep 2010 22:42:13 +0000 (00:42 +0200)]
Simplify configuration setup.
Drop the host related configuration files and just load a .local file if
it exists. Simplify source_config() for this as well, drop its test
files.
Simon Ruderich [Sat, 18 Sep 2010 22:24:23 +0000 (00:24 +0200)]
shell/env: Move shell functions to shell/functions.
Simon Ruderich [Sat, 18 Sep 2010 22:19:28 +0000 (00:19 +0200)]
Improve source_debug() output.
Simon Ruderich [Thu, 16 Sep 2010 10:20:51 +0000 (12:20 +0200)]
bash/rc: Use [[ ]] instead of [ ].
Simon Ruderich [Mon, 13 Sep 2010 23:10:12 +0000 (01:10 +0200)]
zsh/rc: Don't complete ./config.* files.
Simon Ruderich [Thu, 2 Sep 2010 20:06:37 +0000 (22:06 +0200)]
shell/env: Improve readability of LS_COLORS settings.
Simon Ruderich [Mon, 16 Aug 2010 15:34:48 +0000 (17:34 +0200)]
zsh/rc: Escape non printable characters when setting window titles.
Simon Ruderich [Mon, 16 Aug 2010 15:21:12 +0000 (17:21 +0200)]
zsh/rc: Minor documentation fix.
Simon Ruderich [Sat, 24 Jul 2010 09:08:35 +0000 (11:08 +0200)]
zsh/rc: Minor documentation fix.
Simon Ruderich [Sat, 24 Jul 2010 09:03:48 +0000 (11:03 +0200)]
zsh/rc: Add fallback completer to ^F which always completes files.
Simon Ruderich [Sat, 24 Jul 2010 08:59:30 +0000 (10:59 +0200)]
shell/env: Remove unnecessary "function".
Simon Ruderich [Sat, 24 Jul 2010 08:55:19 +0000 (10:55 +0200)]
shell/aliases: Add aliases for ls (l) and cd (d).
Simon Ruderich [Sat, 24 Jul 2010 08:50:10 +0000 (10:50 +0200)]
shell/aliases: Remove unnecessary quotes.
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.
Simon Ruderich [Mon, 21 Jun 2010 12:51:47 +0000 (14:51 +0200)]
zsh/rc: Minor documentation fix.
Simon Ruderich [Mon, 21 Jun 2010 12:47:08 +0000 (14:47 +0200)]
zsh/rc: Use @:!hostname for remote root screens in window_preexec.
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.
Simon Ruderich [Mon, 17 May 2010 10:39:02 +0000 (12:39 +0200)]
zsh/rc: Minor documentation updates.
Simon Ruderich [Mon, 17 May 2010 10:36:23 +0000 (12:36 +0200)]
zsh/rc: Also set RPROMPT 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.
Simon Ruderich [Mon, 17 May 2010 10:29:53 +0000 (12:29 +0200)]
zsh/rc: Move prompt below vcs_info.
No functional changes.
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.
Simon Ruderich [Tue, 11 May 2010 21:00:53 +0000 (23:00 +0200)]
Makefile: Use && with cd.
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 .
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).
Simon Ruderich [Fri, 23 Apr 2010 20:01:17 +0000 (22:01 +0200)]
Merge remote branch 'rammstein/master'
Simon Ruderich [Fri, 23 Apr 2010 10:26:48 +0000 (12:26 +0200)]
zsh/rc: Only call uname once.
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.
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!
Simon Ruderich [Fri, 23 Apr 2010 10:20:37 +0000 (12:20 +0200)]
zsh/rc: Minor documentation update.
Simon Ruderich [Fri, 23 Apr 2010 10:20:10 +0000 (12:20 +0200)]
screenrc: Use zsh as shell.
Simon Ruderich [Mon, 5 Apr 2010 12:59:11 +0000 (14:59 +0200)]
zsh/rc: Handle whitespace/quotes correctly when aborting commands.
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.
Simon Ruderich [Tue, 30 Mar 2010 22:33:08 +0000 (00:33 +0200)]
shell/logout: Ignore errors if sudo isn't installed.
Simon Ruderich [Tue, 30 Mar 2010 22:30:42 +0000 (00:30 +0200)]
zsh/rc: Fix window_title() if unknown TERM is used.
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.
Simon Ruderich [Wed, 24 Mar 2010 20:10:52 +0000 (21:10 +0100)]
lesskey: Improve less options description.
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.
Simon Ruderich [Tue, 16 Mar 2010 01:15:42 +0000 (02:15 +0100)]
zsh/rc: Bindkey can unbind multiple keys.
Simon Ruderich [Tue, 16 Mar 2010 01:07:19 +0000 (02:07 +0100)]
zsh/rc: Also allow jj to exit insert mode.
Simon Ruderich [Tue, 16 Mar 2010 01:06:05 +0000 (02:06 +0100)]
zsh/rc: Disable arrow keys.
Simon Ruderich [Tue, 16 Mar 2010 01:04:50 +0000 (02:04 +0100)]
zsh/rc: Create new key bindings section.
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.
Simon Ruderich [Sun, 14 Mar 2010 22:56:11 +0000 (23:56 +0100)]
zsh/rc: Use ' instead of " when possible, drop them if unnecessary.
Simon Ruderich [Sun, 14 Mar 2010 00:21:18 +0000 (01:21 +0100)]
setup.sh: Add some debug output.
Simon Ruderich [Sat, 13 Mar 2010 23:55:40 +0000 (00:55 +0100)]
setup.sh: If rxvt is installed remove a xterm "fix".
Simon Ruderich [Sat, 13 Mar 2010 23:55:10 +0000 (00:55 +0100)]
setup.sh: Don't call hostname multiple times.
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.
Simon Ruderich [Sat, 13 Mar 2010 20:38:21 +0000 (21:38 +0100)]
zsh/rc: window_title() optimization, only check TERM on startup.
Simon Ruderich [Sat, 13 Mar 2010 18:03:21 +0000 (19:03 +0100)]
zsh/rc: Display @:hostname when running screen on remote host.
Simon Ruderich [Sat, 13 Mar 2010 17:30:48 +0000 (18:30 +0100)]
zsh/rc: Add global aliases for head and tail.
Simon Ruderich [Sat, 13 Mar 2010 17:30:03 +0000 (18:30 +0100)]
zsh/rc: Minor documentation fixes.
Simon Ruderich [Sat, 13 Mar 2010 17:20:29 +0000 (18:20 +0100)]
zsh/rc: Also simulate chpwd_functions for older Zsh.
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!
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.
Simon Ruderich [Thu, 11 Mar 2010 15:38:57 +0000 (16:38 +0100)]
zsh/rc: Run commands after everything else is done.
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.
Simon Ruderich [Thu, 11 Mar 2010 15:25:06 +0000 (16:25 +0100)]
zsh/rc: Also display staged/unstaged changes in actionformats.
Simon Ruderich [Thu, 11 Mar 2010 15:21:46 +0000 (16:21 +0100)]
zsh/rc: Minor documentation changes for VCS_Info.
Simon Ruderich [Thu, 11 Mar 2010 00:28:29 +0000 (01:28 +0100)]
shell/aliases: Add new aliases p (less) and s (mpc).
Simon Ruderich [Thu, 11 Mar 2010 00:26:54 +0000 (01:26 +0100)]
shell/env: Also add ~/.bin to PATH if it exists.
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.
Simon Ruderich [Thu, 11 Mar 2010 00:23:22 +0000 (01:23 +0100)]
screenrc: Ignore case when searching.
Simon Ruderich [Thu, 11 Mar 2010 00:22:03 +0000 (01:22 +0100)]
bash/rc: Documentation update.
Simon Ruderich [Thu, 11 Mar 2010 00:17:30 +0000 (01:17 +0100)]
setup.sh: "systemofadown" also supports 256 colors.
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.
Simon Ruderich [Wed, 10 Mar 2010 23:35:48 +0000 (00:35 +0100)]
zsh/rc: Unstaged/stages changes are displayed in RPROMPT.
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.
Simon Ruderich [Wed, 10 Mar 2010 23:13:42 +0000 (00:13 +0100)]
zsh/rc: Simplify prompts with color variables.
No functional changes.
Simon Ruderich [Wed, 10 Mar 2010 23:01:40 +0000 (00:01 +0100)]
zsh/rc: Minor documentation fixes.
Simon Ruderich [Wed, 10 Mar 2010 15:59:21 +0000 (16:59 +0100)]
.gitignore: Also ignore additional zsh history files.
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.
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.
Simon Ruderich [Mon, 8 Mar 2010 16:55:53 +0000 (17:55 +0100)]
bash/rc: Minor whitespace fix.
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.
Simon Ruderich [Sun, 7 Mar 2010 21:19:26 +0000 (22:19 +0100)]
zsh/rc: Drop title stumpwm support.
Simon Ruderich [Sun, 7 Mar 2010 20:08:37 +0000 (21:08 +0100)]
setup.sh: Only setup colordiff if installed.
Simon Ruderich [Sun, 7 Mar 2010 19:07:05 +0000 (20:07 +0100)]
zsh/rc: Improve script which colors stderr red.
Thanks to Mikachu.
Simon Ruderich [Mon, 1 Feb 2010 12:11:49 +0000 (13:11 +0100)]
zsh: Fix documentation typos.
Simon Ruderich [Mon, 1 Feb 2010 12:03:20 +0000 (13:03 +0100)]
zsh: Documentation updates.
Simon Ruderich [Mon, 1 Feb 2010 11:59:09 +0000 (12:59 +0100)]
zsh: Autoload zmv.
Simon Ruderich [Mon, 1 Feb 2010 11:52:34 +0000 (12:52 +0100)]
shell: Don't use LC_ALL.
Simon Ruderich [Sun, 17 Jan 2010 17:48:47 +0000 (18:48 +0100)]
zsh: Move OS specific settings to zsh/rc.
Simon Ruderich [Sun, 17 Jan 2010 15:15:22 +0000 (16:15 +0100)]
shell: Also export TEMP just to be sure.
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.
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.
Simon Ruderich [Sun, 17 Jan 2010 14:57:16 +0000 (15:57 +0100)]
shell: Add ~/bin to PATH if available.
Simon Ruderich [Sun, 17 Jan 2010 14:56:30 +0000 (15:56 +0100)]
zsh: Make sure elements in PATH are unique.
Simon Ruderich [Sun, 17 Jan 2010 14:42:08 +0000 (15:42 +0100)]
shell: Use ~/tmp as tempdir if available.
Simon Ruderich [Sun, 17 Jan 2010 14:27:35 +0000 (15:27 +0100)]
zsh: Update ^P/^N to enter Vi-mode.
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.
Simon Ruderich [Sat, 14 Nov 2009 14:02:37 +0000 (15:02 +0100)]
Merge commit 'rammstein/master'
Simon Ruderich [Sat, 14 Nov 2009 13:29:23 +0000 (14:29 +0100)]
zsh: Add global alias U for uniq.
Simon Ruderich [Thu, 8 Oct 2009 01:37:19 +0000 (03:37 +0200)]
zsh: Also work when .zsh/functions is not available.
Simon Ruderich [Tue, 6 Oct 2009 21:45:10 +0000 (23:45 +0200)]
screenrc: Remove some bindings I don't use.
Simon Ruderich [Tue, 6 Oct 2009 21:42:46 +0000 (23:42 +0200)]
screenrc: Add section names.
Simon Ruderich [Wed, 26 Aug 2009 20:49:02 +0000 (22:49 +0200)]
zsh: Support @ in window titles when using clear.
Simon Ruderich [Thu, 13 Aug 2009 17:26:36 +0000 (19:26 +0200)]
shell: Remove sudo rights when logging out.
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.
Simon Ruderich [Thu, 13 Aug 2009 17:21:25 +0000 (19:21 +0200)]
zsh: Disable beeps.