]> ruderich.org/simon Gitweb - config/dotfiles.git/log
config/dotfiles.git
11 years agosetup.sh: Remove unnecessary hostname call.
Simon Ruderich [Mon, 15 Oct 2012 19:33:50 +0000 (21:33 +0200)]
setup.sh: Remove unnecessary hostname call.

11 years agosetup.sh: Minor documentation update.
Simon Ruderich [Mon, 15 Oct 2012 19:05:03 +0000 (21:05 +0200)]
setup.sh: Minor documentation update.

11 years agosetup.sh: Use test instead of [.
Simon Ruderich [Mon, 15 Oct 2012 19:04:34 +0000 (21:04 +0200)]
setup.sh: Use test instead of [.

Also fix a comparison, `id -u` is a number.

11 years agosetup.sh: Improve check for Git version of GNU screen.
Simon Ruderich [Mon, 15 Oct 2012 19:02:41 +0000 (21:02 +0200)]
setup.sh: Improve check for Git version of GNU screen.

11 years agosetup.sh: Use automic 256color check for GNU screen.
Simon Ruderich [Mon, 15 Oct 2012 19:00:49 +0000 (21:00 +0200)]
setup.sh: Use automic 256color check for GNU screen.

11 years agozsh/rc: Ctrl-C doesn't store the line if histignorespace applies.
Simon Ruderich [Sun, 14 Oct 2012 19:58:19 +0000 (21:58 +0200)]
zsh/rc: Ctrl-C doesn't store the line if histignorespace applies.

11 years agotmux.conf: Add note how to swap/renumber windows.
Simon Ruderich [Sun, 14 Oct 2012 19:35:41 +0000 (21:35 +0200)]
tmux.conf: Add note how to swap/renumber windows.

11 years agotmux.conf: Use Tmux's working directory when creating new panes.
Simon Ruderich [Sun, 14 Oct 2012 18:59:57 +0000 (20:59 +0200)]
tmux.conf: Use Tmux's working directory when creating new panes.

11 years agotmux.conf: Use line continuation.
Simon Ruderich [Fri, 12 Oct 2012 14:41:21 +0000 (16:41 +0200)]
tmux.conf: Use line continuation.

Also add new script remove-continuation.pl which performs this change.
Older Tmux versions don't support line continuation.

Adapt setup.sh to generate tmux.conf from tmux.conf.in.

11 years ago.gitignore: Use leading slash.
Simon Ruderich [Fri, 12 Oct 2012 14:41:13 +0000 (16:41 +0200)]
.gitignore: Use leading slash.

11 years agotmux.conf: Add ^a ^t mapping to display current date.
Simon Ruderich [Wed, 5 Sep 2012 13:16:35 +0000 (15:16 +0200)]
tmux.conf: Add ^a ^t mapping to display current date.

11 years agotmux.conf: Reduce status line updates to one per minute.
Simon Ruderich [Wed, 5 Sep 2012 13:15:51 +0000 (15:15 +0200)]
tmux.conf: Reduce status line updates to one per minute.

11 years agotmux.conf: Run urlview on current screen content with Ctrl-B.
Simon Ruderich [Mon, 8 Oct 2012 14:24:39 +0000 (16:24 +0200)]
tmux.conf: Run urlview on current screen content with Ctrl-B.

11 years agoscreenrc,setup.sh: Store temporary files in ~/.tmp/.
Simon Ruderich [Mon, 8 Oct 2012 14:20:20 +0000 (16:20 +0200)]
screenrc,setup.sh: Store temporary files in ~/.tmp/.

This prevents cluttering ~/.

11 years agotmux.conf: Fix load average command.
Simon Ruderich [Wed, 19 Sep 2012 10:53:34 +0000 (12:53 +0200)]
tmux.conf: Fix load average command.

The new command is more portable.

11 years agohtoprc: Add Vim modeline.
Simon Ruderich [Sat, 1 Sep 2012 17:26:51 +0000 (19:26 +0200)]
htoprc: Add Vim modeline.

11 years agozsh/rc: Don't use add-zsh-hook.
Simon Ruderich [Thu, 30 Aug 2012 17:47:16 +0000 (19:47 +0200)]
zsh/rc: Don't use add-zsh-hook.

Instead append to *_functions directly.

Also delete old compatibility file.

11 years agozsh/rc: Fix version check for test versions.
Simon Ruderich [Thu, 30 Aug 2012 17:42:44 +0000 (19:42 +0200)]
zsh/rc: Fix version check for test versions.

E.g. 4.3.12-test-2 is newer than 4.3.5.

11 years agozsh/rc: Add global alias LS (2>&1 | less -S).
Simon Ruderich [Wed, 29 Aug 2012 16:31:46 +0000 (18:31 +0200)]
zsh/rc: Add global alias LS (2>&1 | less -S).

11 years agozsh/rc: Fix typo in documentation.
Simon Ruderich [Wed, 29 Aug 2012 16:30:34 +0000 (18:30 +0200)]
zsh/rc: Fix typo in documentation.

11 years agozsh/rc: Update documentation for global aliases.
Simon Ruderich [Wed, 29 Aug 2012 16:27:44 +0000 (18:27 +0200)]
zsh/rc: Update documentation for global aliases.

11 years agozsh/rc: Add global aliases A (| awk) and P (| perl).
Simon Ruderich [Wed, 29 Aug 2012 16:24:40 +0000 (18:24 +0200)]
zsh/rc: Add global aliases A (| awk) and P (| perl).

11 years agozsh/rc: Sort global aliases.
Simon Ruderich [Wed, 29 Aug 2012 16:24:18 +0000 (18:24 +0200)]
zsh/rc: Sort global aliases.

11 years agozsh/rc: Remove a few indirections in aliases.
Simon Ruderich [Wed, 29 Aug 2012 16:22:51 +0000 (18:22 +0200)]
zsh/rc: Remove a few indirections in aliases.

11 years agozsh/rc: Create program functions only if the programs are installed.
Simon Ruderich [Wed, 29 Aug 2012 16:20:42 +0000 (18:20 +0200)]
zsh/rc: Create program functions only if the programs are installed.

11 years agobin/srsync-incremental: Only match directories when searching for --link-dest.
Simon Ruderich [Wed, 29 Aug 2012 16:17:50 +0000 (18:17 +0200)]
bin/srsync-incremental: Only match directories when searching for --link-dest.

11 years agobin/srsync-incremental: Use --itemize-changes.
Simon Ruderich [Wed, 29 Aug 2012 16:17:12 +0000 (18:17 +0200)]
bin/srsync-incremental: Use --itemize-changes.

11 years agobin/srsync-incremental: Add, incremental backups with rsync.
Simon Ruderich [Wed, 29 Aug 2012 16:07:01 +0000 (18:07 +0200)]
bin/srsync-incremental: Add, incremental backups with rsync.

11 years agobin/print-constant.pl: Add, print values of C constants.
Simon Ruderich [Tue, 28 Aug 2012 20:50:46 +0000 (22:50 +0200)]
bin/print-constant.pl: Add, print values of C constants.

11 years agozsh/rc: Improve documentation for matcher-list.
Simon Ruderich [Tue, 28 Aug 2012 17:12:28 +0000 (19:12 +0200)]
zsh/rc: Improve documentation for matcher-list.

11 years agozsh/rc: Fix indentation.
Simon Ruderich [Tue, 7 Aug 2012 12:43:24 +0000 (14:43 +0200)]
zsh/rc: Fix indentation.

11 years agozsh/rc: Add option to use tmux instead of screen.
Simon Ruderich [Tue, 7 Aug 2012 12:42:13 +0000 (14:42 +0200)]
zsh/rc: Add option to use tmux instead of screen.

Can be configured in zsh/rc.local.

11 years agoMinor documentation updates.
Simon Ruderich [Fri, 15 Jun 2012 12:24:12 +0000 (14:24 +0200)]
Minor documentation updates.

12 years agossh_config: Check host IP when connecting.
Simon Ruderich [Tue, 27 Mar 2012 20:37:56 +0000 (22:37 +0200)]
ssh_config: Check host IP when connecting.

12 years agossh_config: Abort if not all requested port forwardings can be set up.
Simon Ruderich [Tue, 27 Mar 2012 20:37:15 +0000 (22:37 +0200)]
ssh_config: Abort if not all requested port forwardings can be set up.

12 years agozsh/rc: Fix "fg" in window_preexec() for programs starting with fg.
Simon Ruderich [Thu, 1 Mar 2012 21:11:31 +0000 (22:11 +0100)]
zsh/rc: Fix "fg" in window_preexec() for programs starting with fg.

12 years agozsh/rc: Don't use which.
Simon Ruderich [Tue, 14 Feb 2012 01:36:48 +0000 (02:36 +0100)]
zsh/rc: Don't use which.

12 years agozsh/rc: Add support for tmux to window_preexec().
Simon Ruderich [Tue, 14 Feb 2012 01:35:50 +0000 (02:35 +0100)]
zsh/rc: Add support for tmux to window_preexec().

12 years agobin/notify.py: Add, displays a message on the screen.
Simon Ruderich [Tue, 14 Feb 2012 01:06:53 +0000 (02:06 +0100)]
bin/notify.py: Add, displays a message on the screen.

12 years agobin/srsync: Add, rsync shortcut with useful options.
Simon Ruderich [Tue, 14 Feb 2012 01:05:15 +0000 (02:05 +0100)]
bin/srsync: Add, rsync shortcut with useful options.

12 years agobin/README: Add GPL notice.
Simon Ruderich [Tue, 14 Feb 2012 01:03:01 +0000 (02:03 +0100)]
bin/README: Add GPL notice.

12 years agobin/*: Use exec to prevent unnecessary shell processes.
Simon Ruderich [Wed, 1 Feb 2012 22:16:12 +0000 (23:16 +0100)]
bin/*: Use exec to prevent unnecessary shell processes.

12 years agohtoprc: Add, basic configuration file.
Simon Ruderich [Wed, 1 Feb 2012 22:13:03 +0000 (23:13 +0100)]
htoprc: Add, basic configuration file.

Also udpate setup.sh and .gitignore.

12 years ago*: License under GPL v3+.
Simon Ruderich [Wed, 25 Jan 2012 22:30:50 +0000 (23:30 +0100)]
*: License under GPL v3+.

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.

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

12 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'

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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