]> ruderich.org/simon Gitweb - config/dotfiles.git/log
config/dotfiles.git
12 years agozsh/rc: Add pdf command.
Simon Ruderich [Tue, 24 Jan 2012 17:06:38 +0000 (18:06 +0100)]
zsh/rc: Add pdf command.

Chooses the "best" PDF viewer available.

12 years agoshell/function,zsh/rc: Replace $@ with "$@".
Simon Ruderich [Sat, 14 Jan 2012 14:41:24 +0000 (15:41 +0100)]
shell/function,zsh/rc: Replace $@ with "$@".

"$@" is the only correct usage of $@.

12 years agoshell/aliases: Replace remaining $* with "$@".
Simon Ruderich [Sat, 14 Jan 2012 14:40:53 +0000 (15:40 +0100)]
shell/aliases: Replace remaining $* with "$@".

12 years agozsh/rc: Use ghci with rlwrap if available.
Simon Ruderich [Sat, 14 Jan 2012 14:35:18 +0000 (15:35 +0100)]
zsh/rc: Use ghci with rlwrap if available.

12 years agozsh/rc: Improved gitk and tig commands.
Simon Ruderich [Sat, 14 Jan 2012 14:33:21 +0000 (15:33 +0100)]
zsh/rc: Improved gitk and tig commands.

12 years agozsh/rc: Add new section custom commands.
Simon Ruderich [Sat, 14 Jan 2012 14:31:16 +0000 (15:31 +0100)]
zsh/rc: Add new section custom commands.

Contains Enhanced/modified commands.

12 years agoinputrc: Ctrl-P/Ctrl-N only display matching lines.
Simon Ruderich [Sat, 14 Jan 2012 13:28:47 +0000 (14:28 +0100)]
inputrc: Ctrl-P/Ctrl-N only display matching lines.

13 years agoMerge remote branch 'asp/master'
Simon Ruderich [Sun, 20 Nov 2011 01:39:41 +0000 (02:39 +0100)]
Merge remote branch 'asp/master'

13 years agobin/*: Prefix wrapper scripts with "s", no ".sh" suffix anymore.
Simon Ruderich [Sun, 20 Nov 2011 01:37:29 +0000 (02:37 +0100)]
bin/*: Prefix wrapper scripts with "s", no ".sh" suffix anymore.

13 years agoshell/logout: Always clear the console, independent of $SHLVL.
Simon Ruderich [Wed, 16 Nov 2011 12:37:39 +0000 (13:37 +0100)]
shell/logout: Always clear the console, independent of $SHLVL.

13 years agoshell/aliases: Correctly use "$@" instead of $* for arguments.
Simon Ruderich [Wed, 16 Nov 2011 12:36:46 +0000 (13:36 +0100)]
shell/aliases: Correctly use "$@" instead of $* for arguments.

13 years agocsh/rc: Start zsh as login shell.
Simon Ruderich [Wed, 16 Nov 2011 12:36:15 +0000 (13:36 +0100)]
csh/rc: Start zsh as login shell.

13 years agozsh/rc: Handle fg when naming windows.
Simon Ruderich [Fri, 4 Nov 2011 23:44:51 +0000 (00:44 +0100)]
zsh/rc: Handle fg when naming windows.

Use the resumed job name.

13 years agobin/mv-p: Add.
Simon Ruderich [Sat, 22 Oct 2011 16:33:08 +0000 (18:33 +0200)]
bin/mv-p: Add.

13 years agozsh/rc: Set histignorespace.
Simon Ruderich [Wed, 12 Oct 2011 23:39:43 +0000 (01:39 +0200)]
zsh/rc: Set histignorespace.

13 years agozsh/env: Display error message if lesspipe failed.
Simon Ruderich [Tue, 6 Sep 2011 19:26:21 +0000 (21:26 +0200)]
zsh/env: Display error message if lesspipe failed.

Some OS (including Gentoo) install /usr/bin/lesspipe but with a
different behavior than the Debian version.

13 years agozsh/rc: Always use "yes" to enable zstyle settings.
Simon Ruderich [Fri, 12 Aug 2011 15:55:09 +0000 (17:55 +0200)]
zsh/rc: Always use "yes" to enable zstyle settings.

13 years agozsh/rc: Major update of completion settings.
Simon Ruderich [Fri, 12 Aug 2011 15:52:15 +0000 (17:52 +0200)]
zsh/rc: Major update of completion settings.

The overall behavior is unchanged, but many details were improved and
better documented.

13 years agozsh/rc: Add directory stack settings.
Simon Ruderich [Fri, 12 Aug 2011 15:38:27 +0000 (17:38 +0200)]
zsh/rc: Add directory stack settings.

13 years agossh_config: Set StrictHostKeyChecking to ask.
Simon Ruderich [Fri, 12 Aug 2011 10:55:18 +0000 (12:55 +0200)]
ssh_config: Set StrictHostKeyChecking to ask.

13 years agozsh/rc: Minor rewrapping cleanup.
Simon Ruderich [Sat, 6 Aug 2011 12:43:55 +0000 (14:43 +0200)]
zsh/rc: Minor rewrapping cleanup.

13 years agozsh/env: Color standout in bold black on yellow for termcap.
Simon Ruderich [Sat, 6 Aug 2011 12:40:58 +0000 (14:40 +0200)]
zsh/env: Color standout in bold black on yellow for termcap.

13 years agozsh/env: Minor cleanup, order termcap codes.
Simon Ruderich [Sat, 6 Aug 2011 12:40:24 +0000 (14:40 +0200)]
zsh/env: Minor cleanup, order termcap codes.

13 years agozsh/rc: Multiple documentation fixes/updates.
Simon Ruderich [Sat, 6 Aug 2011 12:39:54 +0000 (14:39 +0200)]
zsh/rc: Multiple documentation fixes/updates.

13 years agoMerge remote-tracking branch 'all-my-faults/master'
Simon Ruderich [Wed, 15 Jun 2011 19:51:35 +0000 (21:51 +0200)]
Merge remote-tracking branch 'all-my-faults/master'

13 years agobin/temperature.pl: Add.
Simon Ruderich [Wed, 15 Jun 2011 18:20:57 +0000 (20:20 +0200)]
bin/temperature.pl: Add.

13 years agobin/battery.pl: Minor documentation fix.
Simon Ruderich [Wed, 15 Jun 2011 18:18:14 +0000 (20:18 +0200)]
bin/battery.pl: Minor documentation fix.

13 years agotmux.conf: Add Ctrl-P/Ctrl-N as arrow key replacements.
Simon Ruderich [Fri, 10 Jun 2011 09:02:51 +0000 (11:02 +0200)]
tmux.conf: Add Ctrl-P/Ctrl-N as arrow key replacements.

13 years agobin/battery.pl: Add checks and correct exit code.
Simon Ruderich [Tue, 7 Jun 2011 16:08:29 +0000 (18:08 +0200)]
bin/battery.pl: Add checks and correct exit code.

13 years agobin/battery.pl: Add tmux mode.
Simon Ruderich [Tue, 7 Jun 2011 16:08:08 +0000 (18:08 +0200)]
bin/battery.pl: Add tmux mode.

13 years agotmux.conf: Display messages for three seconds.
Simon Ruderich [Mon, 6 Jun 2011 20:18:36 +0000 (22:18 +0200)]
tmux.conf: Display messages for three seconds.

13 years agotmux.conf: Add format for windows in window list.
Simon Ruderich [Mon, 6 Jun 2011 20:15:57 +0000 (22:15 +0200)]
tmux.conf: Add format for windows in window list.

13 years agotmux.conf: Remove unnecessary comment.
Simon Ruderich [Mon, 6 Jun 2011 20:08:22 +0000 (22:08 +0200)]
tmux.conf: Remove unnecessary comment.

13 years agotmux.conf: Increase window history (scrollback buffer in screen).
Simon Ruderich [Mon, 6 Jun 2011 20:01:10 +0000 (22:01 +0200)]
tmux.conf: Increase window history (scrollback buffer in screen).

13 years agotmux.conf: Add terminal options.
Simon Ruderich [Mon, 6 Jun 2011 20:00:17 +0000 (22:00 +0200)]
tmux.conf: Add terminal options.

13 years agotmux.conf: Add status line settings.
Simon Ruderich [Mon, 6 Jun 2011 19:59:17 +0000 (21:59 +0200)]
tmux.conf: Add status line settings.

13 years agotmux.conf: Use Vi(m) bindings.
Simon Ruderich [Mon, 6 Jun 2011 19:56:47 +0000 (21:56 +0200)]
tmux.conf: Use Vi(m) bindings.

13 years agotmux.conf: Add more screen-like bindings.
Simon Ruderich [Thu, 2 Jun 2011 19:12:14 +0000 (21:12 +0200)]
tmux.conf: Add more screen-like bindings.

13 years agotmux.conf: Add more bindings to behave similar to GNU screen.
Simon Ruderich [Wed, 1 Jun 2011 20:35:04 +0000 (22:35 +0200)]
tmux.conf: Add more bindings to behave similar to GNU screen.

13 years agotmux.conf: Add, very basic tmux configuration file.
Simon Ruderich [Sat, 21 May 2011 11:02:07 +0000 (13:02 +0200)]
tmux.conf: Add, very basic tmux configuration file.

13 years agozsh/rc: Actually enable the vcs_info cache.
Simon Ruderich [Sat, 21 May 2011 10:51:15 +0000 (12:51 +0200)]
zsh/rc: Actually enable the vcs_info cache.

This was broken in e531d6fcc133cfa82c0849a1845e7cbeaeff5600 when
introducing the cache. Git is really fast as I didn't notice it.

13 years agosetup.sh: Don't use Git features of screen as root.
Simon Ruderich [Sat, 7 May 2011 13:43:28 +0000 (15:43 +0200)]
setup.sh: Don't use Git features of screen as root.

13 years agoscreenrc: Lock screen after 10 minutes of inactivity for root.
Simon Ruderich [Sat, 7 May 2011 13:40:52 +0000 (15:40 +0200)]
screenrc: Lock screen after 10 minutes of inactivity for root.

Also update setup.sh to remove the option for non-root users.

13 years agoUse jk in addition to jj to exit Vi insert mode.
Simon Ruderich [Sat, 7 May 2011 12:23:57 +0000 (14:23 +0200)]
Use jk in addition to jj to exit Vi insert mode.

jk feels a little faster.

13 years agozsh/rc: Only run rem if ~/.reminders exists.
Simon Ruderich [Mon, 2 May 2011 02:04:34 +0000 (04:04 +0200)]
zsh/rc: Only run rem if ~/.reminders exists.

13 years agozsh/rc: Always use -Uz for autoload.
Simon Ruderich [Mon, 2 May 2011 00:59:34 +0000 (02:59 +0200)]
zsh/rc: Always use -Uz for autoload.

13 years agocsh/rc: Add, starts zsh.
Simon Ruderich [Sun, 1 May 2011 16:50:00 +0000 (18:50 +0200)]
csh/rc: Add, starts zsh.

Some system use csh as default shell - start zsh instead.

13 years agozsh/rc: Display time in top right prompt, not in RPROMPT.
Simon Ruderich [Sun, 24 Apr 2011 20:32:53 +0000 (22:32 +0200)]
zsh/rc: Display time in top right prompt, not in RPROMPT.

13 years agozsh/rc: Don't draw trailing / in bold.
Simon Ruderich [Tue, 22 Mar 2011 16:17:27 +0000 (17:17 +0100)]
zsh/rc: Don't draw trailing / in bold.

13 years agolessfilter: Add, help filer for lesspipe.
Simon Ruderich [Fri, 11 Feb 2011 20:18:24 +0000 (21:18 +0100)]
lessfilter: Add, help filer for lesspipe.

Colors diff and patch files and displays directory contents.

Also update setup.sh.

13 years agoMerge remote-tracking branch 'uni/master'
Simon Ruderich [Fri, 11 Feb 2011 20:15:15 +0000 (21:15 +0100)]
Merge remote-tracking branch 'uni/master'

13 years agoshell/env: Prefer ~/.tmp to ~/tmp as TMPDIR.
Simon Ruderich [Wed, 9 Feb 2011 14:28:47 +0000 (15:28 +0100)]
shell/env: Prefer ~/.tmp to ~/tmp as TMPDIR.

13 years agoshell/env: Add rlwrap history directory setting.
Simon Ruderich [Fri, 4 Feb 2011 15:42:20 +0000 (16:42 +0100)]
shell/env: Add rlwrap history directory setting.

Also update setup.sh to create it.

13 years agobin/calc: Add Vim modeline.
Simon Ruderich [Fri, 4 Feb 2011 15:41:03 +0000 (16:41 +0100)]
bin/calc: Add Vim modeline.

13 years agobin/valgrind.sh: Also track file descriptors.
Simon Ruderich [Wed, 26 Jan 2011 23:54:41 +0000 (00:54 +0100)]
bin/valgrind.sh: Also track file descriptors.

13 years agozsh/rc: Display current time in hex in RPROMPT.
Simon Ruderich [Sun, 23 Jan 2011 22:38:56 +0000 (23:38 +0100)]
zsh/rc: Display current time in hex in RPROMPT.

13 years agozsh/rc: Run rem with -h (hush) to prevent unnecessary output.
Simon Ruderich [Wed, 5 Jan 2011 17:42:50 +0000 (18:42 +0100)]
zsh/rc: Run rem with -h (hush) to prevent unnecessary output.

13 years agozsh/rc: Prevent unnecessary zsh process when starting screen.
Simon Ruderich [Wed, 5 Jan 2011 17:37:07 +0000 (18:37 +0100)]
zsh/rc: Prevent unnecessary zsh process when starting screen.

13 years agolesskey: Add ^P/^N for line-edit to replace the arrow keys.
Simon Ruderich [Fri, 31 Dec 2010 23:10:09 +0000 (00:10 +0100)]
lesskey: Add ^P/^N for line-edit to replace the arrow keys.

13 years agoinputrc: Display file type when completing (/, @, etc.).
Simon Ruderich [Sun, 26 Dec 2010 20:32:38 +0000 (21:32 +0100)]
inputrc: Display file type when completing (/, @, etc.).

13 years agoinputrc: Always tab complete all items.
Simon Ruderich [Sun, 26 Dec 2010 20:29:43 +0000 (21:29 +0100)]
inputrc: Always tab complete all items.

No matter how many there are.

13 years agoinputrc: Add Ctrl-P/N as replacements for arrow keys.
Simon Ruderich [Fri, 10 Dec 2010 10:09:05 +0000 (11:09 +0100)]
inputrc: Add Ctrl-P/N as replacements for arrow keys.

13 years agoinputrc: jj exits insert mode.
Simon Ruderich [Fri, 10 Dec 2010 10:07:33 +0000 (11:07 +0100)]
inputrc: jj exits insert mode.

Remove "set keymap vi" because it causes problems with the jj mapping.

13 years agoMerge remote branch 'asp/master'
Simon Ruderich [Fri, 3 Dec 2010 11:48:25 +0000 (12:48 +0100)]
Merge remote branch 'asp/master'

Conflicts:
bin/git-update.sh

13 years agobin/valgrind{,-ptr}.sh: Add.
Simon Ruderich [Fri, 3 Dec 2010 11:39:16 +0000 (12:39 +0100)]
bin/valgrind{,-ptr}.sh: Add.

Useful options for valgrind.

13 years agobin/git-update-all.sh: Pass arguments to git-update.sh.
Simon Ruderich [Tue, 30 Nov 2010 09:10:54 +0000 (10:10 +0100)]
bin/git-update-all.sh: Pass arguments to git-update.sh.

13 years agobin/git-update.sh: Add --local option.
Simon Ruderich [Tue, 30 Nov 2010 09:09:48 +0000 (10:09 +0100)]
bin/git-update.sh: Add --local option.

14 years agozsh/env: Setup lesspipe.
Simon Ruderich [Thu, 25 Nov 2010 17:30:24 +0000 (18:30 +0100)]
zsh/env: Setup lesspipe.

14 years agobin/git-update.sh: Also push tags to remotes.
Simon Ruderich [Sat, 20 Nov 2010 15:15:28 +0000 (16:15 +0100)]
bin/git-update.sh: Also push tags to remotes.

14 years agobin/git-update-all.sh: Runs git-update.sh recursively.
Simon Ruderich [Sat, 20 Nov 2010 09:03:35 +0000 (10:03 +0100)]
bin/git-update-all.sh: Runs git-update.sh recursively.

14 years agobin/update-git.sh: Rename to git-update.sh.
Simon Ruderich [Sat, 20 Nov 2010 09:01:57 +0000 (10:01 +0100)]
bin/update-git.sh: Rename to git-update.sh.

14 years agobin/updated-git.sh: Add. Syncs git repository with all remotes.
Simon Ruderich [Sat, 20 Nov 2010 08:57:58 +0000 (09:57 +0100)]
bin/updated-git.sh: Add. Syncs git repository with all remotes.

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.