]> ruderich.org/simon Gitweb - config/dotfiles.git/log
config/dotfiles.git
14 years agobin/pdftotext-: Add.
Simon Ruderich [Fri, 12 Nov 2010 21:54:01 +0000 (22:54 +0100)]
bin/pdftotext-: Add.

Wrapper for pdftotext writing to stdout. Necessary for gitattributes
which passes the file as last parameter.

14 years agoshell/env: First add ~/.shell/bin to PATH.
Simon Ruderich [Fri, 12 Nov 2010 21:51:20 +0000 (22:51 +0100)]
shell/env: First add ~/.shell/bin to PATH.

So scripts in ~/.bin or ~/bin overrule it.

14 years agobin/calc: Add.
Simon Ruderich [Fri, 12 Nov 2010 21:47:55 +0000 (22:47 +0100)]
bin/calc: Add.

A simple wrapper for python providing fast access to calculator
functions.

14 years agoscreenrc: Display current battery charge.
Simon Ruderich [Fri, 12 Nov 2010 20:39:27 +0000 (21:39 +0100)]
screenrc: Display current battery charge.

Also add battery.pl script and update setup.sh to only enable it if
necessary.

14 years agoshell/env: Add ~/.shell/bin to PATH.
Simon Ruderich [Fri, 12 Nov 2010 20:38:21 +0000 (21:38 +0100)]
shell/env: Add ~/.shell/bin to PATH.

14 years agobin: Add.
Simon Ruderich [Fri, 12 Nov 2010 20:37:12 +0000 (21:37 +0100)]
bin: Add.

New directory which holds shell related programs useful on all
computers.

14 years agoscreenrc: Whitespace only change.
Simon Ruderich [Fri, 12 Nov 2010 19:56:06 +0000 (20:56 +0100)]
screenrc: Whitespace only change.

14 years agozsh/rc: Run rem on startup and after every four hours.
Simon Ruderich [Mon, 8 Nov 2010 20:17:59 +0000 (21:17 +0100)]
zsh/rc: Run rem on startup and after every four hours.

14 years agozsh/rc: Fix minor comment typo.
Simon Ruderich [Mon, 8 Nov 2010 20:12:30 +0000 (21:12 +0100)]
zsh/rc: Fix minor comment typo.

14 years agossh_config: Add.
Simon Ruderich [Thu, 4 Nov 2010 18:09:43 +0000 (19:09 +0100)]
ssh_config: Add.

14 years agoscreenrc: Add bindings for fast switching to windows 10-19.
Simon Ruderich [Sun, 31 Oct 2010 20:55:42 +0000 (21:55 +0100)]
screenrc: Add bindings for fast switching to windows 10-19.

14 years agoAdd missing timezones to dates.
Simon Ruderich [Sun, 31 Oct 2010 18:01:10 +0000 (19:01 +0100)]
Add missing timezones to dates.

14 years agozsh/rc: Don't start screen on the Linux console.
Simon Ruderich [Sun, 31 Oct 2010 17:53:13 +0000 (18:53 +0100)]
zsh/rc: Don't start screen on the Linux console.

14 years agozsh/rc: Don't complete unwanted files with Vim.
Simon Ruderich [Sun, 31 Oct 2010 17:52:19 +0000 (18:52 +0100)]
zsh/rc: Don't complete unwanted files with Vim.

14 years agozsh/rc: Add wrappers for tree and xpdf.
Simon Ruderich [Sun, 31 Oct 2010 17:49:42 +0000 (18:49 +0100)]
zsh/rc: Add wrappers for tree and xpdf.

14 years agozsh/rc: Reduce calls to external programs.
Simon Ruderich [Wed, 13 Oct 2010 21:07:30 +0000 (23:07 +0200)]
zsh/rc: Reduce calls to external programs.

14 years agozsh/rc: Remove OS X related settings.
Simon Ruderich [Wed, 13 Oct 2010 20:55:35 +0000 (22:55 +0200)]
zsh/rc: Remove OS X related settings.

14 years agozsh/rc: Ignore cd and ls aliases in the window title precmd.
Simon Ruderich [Thu, 23 Sep 2010 21:29:56 +0000 (23:29 +0200)]
zsh/rc: Ignore cd and ls aliases in the window title precmd.

14 years agozsh/env: Color man pages viewed in less.
Simon Ruderich [Mon, 20 Sep 2010 23:11:37 +0000 (01:11 +0200)]
zsh/env: Color man pages viewed in less.

14 years agoscreenrc: Remove some more key bindings I don't need.
Simon Ruderich [Mon, 20 Sep 2010 22:29:08 +0000 (00:29 +0200)]
screenrc: Remove some more key bindings I don't need.

14 years agozsh/rc: Fix sourcing of ~/.zsh/rc.local.
Simon Ruderich [Mon, 20 Sep 2010 22:18:45 +0000 (00:18 +0200)]
zsh/rc: Fix sourcing of ~/.zsh/rc.local.

14 years agoshell/functions: Improve source_debug() output.
Simon Ruderich [Sat, 18 Sep 2010 22:49:33 +0000 (00:49 +0200)]
shell/functions: Improve source_debug() output.

14 years agobash/logout,zsh/logout: Remove unnecessary source_debug()s.
Simon Ruderich [Sat, 18 Sep 2010 22:48:14 +0000 (00:48 +0200)]
bash/logout,zsh/logout: Remove unnecessary source_debug()s.

14 years agoSimplify configuration setup.
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.

14 years agoshell/env: Move shell functions to shell/functions.
Simon Ruderich [Sat, 18 Sep 2010 22:24:23 +0000 (00:24 +0200)]
shell/env: Move shell functions to shell/functions.

14 years agoImprove source_debug() output.
Simon Ruderich [Sat, 18 Sep 2010 22:19:28 +0000 (00:19 +0200)]
Improve source_debug() output.

14 years agobash/rc: Use [[ ]] instead of [ ].
Simon Ruderich [Thu, 16 Sep 2010 10:20:51 +0000 (12:20 +0200)]
bash/rc: Use [[ ]] instead of [ ].

14 years agozsh/rc: Don't complete ./config.* files.
Simon Ruderich [Mon, 13 Sep 2010 23:10:12 +0000 (01:10 +0200)]
zsh/rc: Don't complete ./config.* files.

14 years agoshell/env: Improve readability of LS_COLORS settings.
Simon Ruderich [Thu, 2 Sep 2010 20:06:37 +0000 (22:06 +0200)]
shell/env: Improve readability of LS_COLORS settings.

14 years agozsh/rc: Escape non printable characters when setting window titles.
Simon Ruderich [Mon, 16 Aug 2010 15:34:48 +0000 (17:34 +0200)]
zsh/rc: Escape non printable characters when setting window titles.

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