]> ruderich.org/simon Gitweb - config/dotfiles.git/log
config/dotfiles.git
11 years agoscreenrc: Display window flags.
Simon Ruderich [Sun, 10 Mar 2013 20:37:11 +0000 (21:37 +0100)]
screenrc: Display window flags.

This also displays "-" for the last active window which is very useful.

11 years agossh_config: Mark default values.
Simon Ruderich [Sun, 10 Mar 2013 20:33:53 +0000 (21:33 +0100)]
ssh_config: Mark default values.

11 years agossh_config: Disable unused authentication methods.
Simon Ruderich [Sun, 10 Mar 2013 14:36:11 +0000 (15:36 +0100)]
ssh_config: Disable unused authentication methods.

11 years agoscreenrc/tmux.conf: Increase scrollback buffer.
Simon Ruderich [Sun, 10 Mar 2013 14:32:30 +0000 (15:32 +0100)]
screenrc/tmux.conf: Increase scrollback buffer.

11 years agocrontab.d/update.sh: Documentation update.
Simon Ruderich [Sun, 10 Mar 2013 14:31:28 +0000 (15:31 +0100)]
crontab.d/update.sh: Documentation update.

11 years agosshd_config: Add ClientAlive* settings.
Simon Ruderich [Sun, 10 Mar 2013 14:18:26 +0000 (15:18 +0100)]
sshd_config: Add ClientAlive* settings.

11 years agosshd_config: Enable sftp.
Simon Ruderich [Tue, 5 Mar 2013 15:42:17 +0000 (16:42 +0100)]
sshd_config: Enable sftp.

11 years agosshd_config: Add.
Simon Ruderich [Wed, 27 Feb 2013 04:21:11 +0000 (05:21 +0100)]
sshd_config: Add.

11 years agosetup.sh: Don't create ~/.reminders from template.
Simon Ruderich [Sat, 16 Feb 2013 17:59:39 +0000 (18:59 +0100)]
setup.sh: Don't create ~/.reminders from template.

I don't use remind on all systems.

11 years agoshell/aliases: Use aliases for ll, la, lal.
Simon Ruderich [Sat, 9 Feb 2013 20:55:11 +0000 (21:55 +0100)]
shell/aliases: Use aliases for ll, la, lal.

11 years agoshell/aliases: Drop old Mercurial alias vqs.
Simon Ruderich [Sat, 9 Feb 2013 20:11:18 +0000 (21:11 +0100)]
shell/aliases: Drop old Mercurial alias vqs.

11 years agoscreenrc: Minor documentation update.
Simon Ruderich [Sat, 9 Feb 2013 20:10:39 +0000 (21:10 +0100)]
screenrc: Minor documentation update.

11 years agolessfilter: Use test.
Simon Ruderich [Sat, 9 Feb 2013 20:10:23 +0000 (21:10 +0100)]
lessfilter: Use test.

11 years agobin/srsync-incremental: Add set -e.
Simon Ruderich [Sat, 9 Feb 2013 20:08:54 +0000 (21:08 +0100)]
bin/srsync-incremental: Add set -e.

11 years agobin/srsync-incremental: Use `test`.
Simon Ruderich [Sat, 9 Feb 2013 20:08:17 +0000 (21:08 +0100)]
bin/srsync-incremental: Use `test`.

11 years agobin/notify.py: Minor documentation update.
Simon Ruderich [Sat, 9 Feb 2013 20:07:51 +0000 (21:07 +0100)]
bin/notify.py: Minor documentation update.

11 years agobin/mv-p: Rewrap for better readability.
Simon Ruderich [Sat, 9 Feb 2013 20:07:34 +0000 (21:07 +0100)]
bin/mv-p: Rewrap for better readability.

11 years agobin/calc: Add function to convert seconds to date.
Simon Ruderich [Sat, 9 Feb 2013 20:07:25 +0000 (21:07 +0100)]
bin/calc: Add function to convert seconds to date.

11 years agossh_config: Enable HashKnownHosts.
Simon Ruderich [Sat, 9 Feb 2013 19:59:15 +0000 (20:59 +0100)]
ssh_config: Enable HashKnownHosts.

11 years agossh_config: Disable PermitLocalCommand.
Simon Ruderich [Sat, 9 Feb 2013 19:57:43 +0000 (20:57 +0100)]
ssh_config: Disable PermitLocalCommand.

11 years agossh_config: Move ExitOnForwardFailure to forwarding settings.
Simon Ruderich [Sat, 9 Feb 2013 19:56:34 +0000 (20:56 +0100)]
ssh_config: Move ExitOnForwardFailure to forwarding settings.

11 years agossh_config: Minor documentation update.
Simon Ruderich [Sat, 9 Feb 2013 19:55:37 +0000 (20:55 +0100)]
ssh_config: Minor documentation update.

11 years agotmux-window.pl: Minor documentation fixes.
Simon Ruderich [Sat, 9 Feb 2013 19:54:22 +0000 (20:54 +0100)]
tmux-window.pl: Minor documentation fixes.

11 years agosetup.sh: Create zsh's cache/ directory.
Simon Ruderich [Sat, 2 Feb 2013 13:23:18 +0000 (14:23 +0100)]
setup.sh: Create zsh's cache/ directory.

11 years agobin: Add srandom-order. Pass files in random order to a program.
Simon Ruderich [Thu, 24 Jan 2013 16:37:40 +0000 (17:37 +0100)]
bin: Add srandom-order. Pass files in random order to a program.

11 years agobin: Add slocate, supdatedb. `locale` only for $HOME.
Simon Ruderich [Thu, 24 Jan 2013 16:35:35 +0000 (17:35 +0100)]
bin: Add slocate, supdatedb. `locale` only for $HOME.

11 years agobin/*.pl: Add missing die to close.
Simon Ruderich [Mon, 31 Dec 2012 01:12:53 +0000 (02:12 +0100)]
bin/*.pl: Add missing die to close.

11 years agoshell/env: Use test instead of [ and $HOME instead of ~.
Simon Ruderich [Mon, 31 Dec 2012 01:10:55 +0000 (02:10 +0100)]
shell/env: Use test instead of [ and $HOME instead of ~.

test and $HOME are more compatible. Not all shells support [ and expand
~.

11 years agozsh/rc: Don't change umask as root.
Simon Ruderich [Thu, 20 Dec 2012 20:42:24 +0000 (21:42 +0100)]
zsh/rc: Don't change umask as root.

11 years agossh_config: Document an undocumented ServerAlive* feature.
Simon Ruderich [Thu, 20 Dec 2012 20:41:45 +0000 (21:41 +0100)]
ssh_config: Document an undocumented ServerAlive* feature.

11 years agobin/{git-update.sh,git-update-all.sh}: Remove. No longer necessary.
Simon Ruderich [Thu, 20 Dec 2012 20:40:30 +0000 (21:40 +0100)]
bin/{git-update.sh,git-update-all.sh}: Remove. No longer necessary.

11 years agoshell/aliases: Use grep --color=auto if available.
Simon Ruderich [Thu, 20 Dec 2012 20:39:06 +0000 (21:39 +0100)]
shell/aliases: Use grep --color=auto if available.

11 years agozsh/rc: Handle fg in longrun_preexec().
Simon Ruderich [Thu, 20 Dec 2012 17:10:06 +0000 (18:10 +0100)]
zsh/rc: Handle fg in longrun_preexec().

11 years agozsh/rc: Display running time for long running processes.
Simon Ruderich [Thu, 20 Dec 2012 16:54:04 +0000 (17:54 +0100)]
zsh/rc: Display running time for long running processes.

Also send a bell to the terminal when the process is done.

11 years agozsh/rc: Also display fortune every 4 hours.
Simon Ruderich [Thu, 20 Dec 2012 16:38:40 +0000 (17:38 +0100)]
zsh/rc: Also display fortune every 4 hours.

11 years agozsh/rc: Prefer xpdf over zathura.
Simon Ruderich [Thu, 20 Dec 2012 16:35:42 +0000 (17:35 +0100)]
zsh/rc: Prefer xpdf over zathura.

11 years agoshell/aliases: Display complete size in du alias.
Simon Ruderich [Thu, 20 Dec 2012 16:33:18 +0000 (17:33 +0100)]
shell/aliases: Display complete size in du alias.

11 years agosetup.sh: Also link configuration file for newer htop versions.
Simon Ruderich [Thu, 20 Dec 2012 16:32:13 +0000 (17:32 +0100)]
setup.sh: Also link configuration file for newer htop versions.

11 years agolesskey: Minor documentation update.
Simon Ruderich [Thu, 20 Dec 2012 16:29:12 +0000 (17:29 +0100)]
lesskey: Minor documentation update.

11 years agolesskey: Don't use --search-skip-screen.
Simon Ruderich [Thu, 20 Dec 2012 16:19:39 +0000 (17:19 +0100)]
lesskey: Don't use --search-skip-screen.

11 years agocrontab.d: Add, directory for crontab snippets.
Simon Ruderich [Fri, 14 Dec 2012 23:28:59 +0000 (00:28 +0100)]
crontab.d: Add, directory for crontab snippets.

~/.crontab.d can be used by other configuration files (e.g. vim) to
provide crontab entries which are then loaded by `update.sh` in the
crontab entry of the current user.

11 years agosetup.sh: Split in sections "{DIRECTORY,FILE,LINK} SETUP".
Simon Ruderich [Fri, 14 Dec 2012 23:19:29 +0000 (00:19 +0100)]
setup.sh: Split in sections "{DIRECTORY,FILE,LINK} SETUP".

11 years agosetup.sh: Add set -e.
Simon Ruderich [Fri, 14 Dec 2012 23:18:41 +0000 (00:18 +0100)]
setup.sh: Add set -e.

11 years agoscreenrc: Add bindings for fast switching to windows 20-29.
Simon Ruderich [Fri, 14 Dec 2012 23:17:34 +0000 (00:17 +0100)]
screenrc: Add bindings for fast switching to windows 20-29.

11 years agossh_config: Improve comment for ControlPath.
Simon Ruderich [Thu, 13 Dec 2012 23:17:58 +0000 (00:17 +0100)]
ssh_config: Improve comment for ControlPath.

11 years agolesskey: Increase less' history to 1000 lines.
Simon Ruderich [Thu, 15 Nov 2012 16:21:00 +0000 (17:21 +0100)]
lesskey: Increase less' history to 1000 lines.

11 years agolesskey, setup.sh: Don't store less' history in ~/.
Simon Ruderich [Thu, 15 Nov 2012 16:20:05 +0000 (17:20 +0100)]
lesskey, setup.sh: Don't store less' history in ~/.

11 years agotmux-window.pl: Call select-window last in the binding.
Simon Ruderich [Sun, 21 Oct 2012 21:25:33 +0000 (23:25 +0200)]
tmux-window.pl: Call select-window last in the binding.

Otherwise non-existent windows prevent unmapping the temporary 0-9 ;
keys.

11 years agotmux.conf: Add mappings to switch to windows 10-29 quickly.
Simon Ruderich [Sat, 20 Oct 2012 10:24:00 +0000 (12:24 +0200)]
tmux.conf: Add mappings to switch to windows 10-29 quickly.

Also add helper script tmux-window.pl and update setup.sh.

11 years agoreminders.in: Fix minor typo in an example.
Simon Ruderich [Fri, 19 Oct 2012 22:19:14 +0000 (00:19 +0200)]
reminders.in: Fix minor typo in an example.

11 years agoreminders.in: Don't display todo list by default.
Simon Ruderich [Fri, 19 Oct 2012 22:18:58 +0000 (00:18 +0200)]
reminders.in: Don't display todo list by default.

11 years agoreminders.in: Remove space between comment and text for examples.
Simon Ruderich [Fri, 19 Oct 2012 22:18:11 +0000 (00:18 +0200)]
reminders.in: Remove space between comment and text for examples.

Sets them apart from documentation comments.

11 years agoreminders.in: Add remind template file.
Simon Ruderich [Wed, 17 Oct 2012 19:50:21 +0000 (21:50 +0200)]
reminders.in: Add remind template file.

Update setup.sh to copy it to ~/.reminders if it doesn't exist.

11 years agosetup.sh: Fix typo in urxvt 256-color check.
Simon Ruderich [Tue, 16 Oct 2012 08:36:48 +0000 (10:36 +0200)]
setup.sh: Fix typo in urxvt 256-color check.

11 years agozsh/rc: Replace $use_tmux with $use_multiplexer.
Simon Ruderich [Tue, 16 Oct 2012 03:42:29 +0000 (05:42 +0200)]
zsh/rc: Replace $use_tmux with $use_multiplexer.

Allows easy switching between GNU screen, tmux and no multiplexer.

11 years ago.gitignore: Ignore shell/aliases.
Simon Ruderich [Tue, 16 Oct 2012 03:31:32 +0000 (05:31 +0200)]
.gitignore: Ignore shell/aliases.

Forgotten in 7c442e3d0aaa99822844838cd18a0a3b24892bbb.

11 years agozsh/rc: Add global aliases N (>/dev/null) and EN (2>/dev/null).
Simon Ruderich [Tue, 16 Oct 2012 03:26:24 +0000 (05:26 +0200)]
zsh/rc: Add global aliases N (>/dev/null) and EN (2>/dev/null).

11 years agoshell/aliases,setup.sh: Move ls color detection to setup.sh.
Simon Ruderich [Tue, 16 Oct 2012 03:14:44 +0000 (05:14 +0200)]
shell/aliases,setup.sh: Move ls color detection to setup.sh.

11 years agosetup.sh: Fix GNU screen Git check.
Simon Ruderich [Mon, 15 Oct 2012 20:29:12 +0000 (22:29 +0200)]
setup.sh: Fix GNU screen Git check.

Broken in 6b3da4f032ce15fb6d8557e72b0e6611e2476e59.

11 years agoscreenrc: Minor documentation update.
Simon Ruderich [Mon, 15 Oct 2012 19:41:11 +0000 (21:41 +0200)]
screenrc: Minor documentation update.

11 years agotmux.conf: Minor documentation updates.
Simon Ruderich [Mon, 15 Oct 2012 19:40:41 +0000 (21:40 +0200)]
tmux.conf: Minor documentation updates.

11 years agotmux.conf: Use Zsh as shell if available.
Simon Ruderich [Mon, 15 Oct 2012 19:39:31 +0000 (21:39 +0200)]
tmux.conf: Use Zsh as shell if available.

11 years agosetup.sh: Also use 256color check for Tmux.
Simon Ruderich [Mon, 15 Oct 2012 19:36:30 +0000 (21:36 +0200)]
setup.sh: Also use 256color check for Tmux.

Use 256 colors by default in tmux.conf.

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.