]> ruderich.org/simon Gitweb - config/dotfiles.git/log
config/dotfiles.git
10 years agosetup.sh: Use sed_i().
Simon Ruderich [Tue, 8 Oct 2013 14:33:21 +0000 (16:33 +0200)]
setup.sh: Use sed_i().

10 years agozsh/rc: Use red # as prompt for root.
Simon Ruderich [Mon, 16 Sep 2013 21:51:33 +0000 (23:51 +0200)]
zsh/rc: Use red # as prompt for root.

10 years agozsh/rc: Check if the multiplexer is available.
Simon Ruderich [Mon, 16 Sep 2013 21:46:12 +0000 (23:46 +0200)]
zsh/rc: Check if the multiplexer is available.

10 years agozsh/rc: Disable Mercurial support for vcs_info.
Simon Ruderich [Thu, 12 Sep 2013 10:39:34 +0000 (12:39 +0200)]
zsh/rc: Disable Mercurial support for vcs_info.

10 years agozsh/rc: Display errors from ~/.xinitrc.errors on startup.
Simon Ruderich [Thu, 12 Sep 2013 00:55:07 +0000 (02:55 +0200)]
zsh/rc: Display errors from ~/.xinitrc.errors on startup.

See ~/.xinitrc for details.

10 years agoinputrc,zsh/rc: Remove jj mapping.
Simon Ruderich [Fri, 6 Sep 2013 01:52:24 +0000 (03:52 +0200)]
inputrc,zsh/rc: Remove jj mapping.

10 years agossh_config: Add IdentitiesOnly yes.
Simon Ruderich [Fri, 6 Sep 2013 01:50:19 +0000 (03:50 +0200)]
ssh_config: Add IdentitiesOnly yes.

10 years agoshell/dircolors: Remove unnecessary rules.
Simon Ruderich [Fri, 6 Sep 2013 01:48:23 +0000 (03:48 +0200)]
shell/dircolors: Remove unnecessary rules.

Also update documentation to match the current usage.

10 years agobin/notify.py: Check for invalid arguments.
Simon Ruderich [Tue, 3 Sep 2013 01:12:51 +0000 (03:12 +0200)]
bin/notify.py: Check for invalid arguments.

10 years agoshell/dircolors: Underline hardlinks.
Simon Ruderich [Mon, 19 Aug 2013 14:48:18 +0000 (16:48 +0200)]
shell/dircolors: Underline hardlinks.

10 years ago.gitignore: Ignore crontab.dotfiles-vim and crontab.jobs.
Simon Ruderich [Sun, 18 Aug 2013 14:36:47 +0000 (16:36 +0200)]
.gitignore: Ignore crontab.dotfiles-vim and crontab.jobs.

10 years agocrontab.d/jobs: Add support to run job every minute.
Simon Ruderich [Sun, 18 Aug 2013 14:29:25 +0000 (16:29 +0200)]
crontab.d/jobs: Add support to run job every minute.

10 years agocrontab.d/jobs: Add Vim modeline.
Simon Ruderich [Sun, 18 Aug 2013 14:27:55 +0000 (16:27 +0200)]
crontab.d/jobs: Add Vim modeline.

10 years agocrontab.d/jobs: Random sleep before running a command.
Simon Ruderich [Sun, 18 Aug 2013 14:27:13 +0000 (16:27 +0200)]
crontab.d/jobs: Random sleep before running a command.

10 years agozsh/rc: Restart automatically once ~/.zshrc changes.
Simon Ruderich [Sat, 13 Jul 2013 10:57:11 +0000 (12:57 +0200)]
zsh/rc: Restart automatically once ~/.zshrc changes.

10 years agozsh/rc: Fix display of Git stash count.
Simon Ruderich [Tue, 9 Jul 2013 14:28:16 +0000 (16:28 +0200)]
zsh/rc: Fix display of Git stash count.

10 years agoMakefile: Remove, not used anymore.
Simon Ruderich [Mon, 8 Jul 2013 12:58:57 +0000 (14:58 +0200)]
Makefile: Remove, not used anymore.

10 years agolesskey: Minor documentation update.
Simon Ruderich [Mon, 8 Jul 2013 12:49:53 +0000 (14:49 +0200)]
lesskey: Minor documentation update.

10 years agozsh/rc: Display number of Git stashes in prompt.
Simon Ruderich [Sat, 6 Jul 2013 14:56:02 +0000 (16:56 +0200)]
zsh/rc: Display number of Git stashes in prompt.

10 years agoshell/env: Unset LANGUAGE.
Simon Ruderich [Sat, 6 Jul 2013 14:49:31 +0000 (16:49 +0200)]
shell/env: Unset LANGUAGE.

10 years agoshell/logout: Minor cleanup.
Simon Ruderich [Fri, 5 Jul 2013 11:11:26 +0000 (13:11 +0200)]
shell/logout: Minor cleanup.

10 years agoreminders.in: Don't display todo items in calendar view.
Simon Ruderich [Mon, 13 May 2013 19:46:47 +0000 (21:46 +0200)]
reminders.in: Don't display todo items in calendar view.

10 years agosetup.sh: Add "Do not edit" warning to generated shell/dircolors.
Simon Ruderich [Tue, 7 May 2013 19:34:54 +0000 (21:34 +0200)]
setup.sh: Add "Do not edit" warning to generated shell/dircolors.

11 years agozsh/rc: Display staged/unstaged info next to cwd in prompt.
Simon Ruderich [Sat, 27 Apr 2013 14:40:44 +0000 (16:40 +0200)]
zsh/rc: Display staged/unstaged info next to cwd in prompt.

In addition to the more detailed vcs_info string on the top right.

11 years agozsh/rc: Use ${..} for color variables.
Simon Ruderich [Sat, 27 Apr 2013 14:25:44 +0000 (16:25 +0200)]
zsh/rc: Use ${..} for color variables.

It's more readable.

11 years agozsh/rc: Enable warn_create_global.
Simon Ruderich [Sat, 27 Apr 2013 14:22:18 +0000 (16:22 +0200)]
zsh/rc: Enable warn_create_global.

11 years agozsh/rc: Remove unnecessary variable zshrc_window_root.
Simon Ruderich [Sat, 27 Apr 2013 14:14:35 +0000 (16:14 +0200)]
zsh/rc: Remove unnecessary variable zshrc_window_root.

11 years agozsh/rc: Prefix all functions and global variables with zshrc_.
Simon Ruderich [Sat, 27 Apr 2013 14:04:23 +0000 (16:04 +0200)]
zsh/rc: Prefix all functions and global variables with zshrc_.

11 years agozsh/rc: Minor cleanup.
Simon Ruderich [Mon, 15 Apr 2013 19:58:25 +0000 (21:58 +0200)]
zsh/rc: Minor cleanup.

11 years agozsh/rc: Documentation update.
Simon Ruderich [Mon, 15 Apr 2013 19:55:50 +0000 (21:55 +0200)]
zsh/rc: Documentation update.

11 years agossh_config: Use GatewayPorts no.
Simon Ruderich [Mon, 15 Apr 2013 19:11:49 +0000 (21:11 +0200)]
ssh_config: Use GatewayPorts no.

11 years agosetup.sh: Only link ssh_config if ~/.ssh is owned by user.
Simon Ruderich [Mon, 15 Apr 2013 22:08:31 +0000 (00:08 +0200)]
setup.sh: Only link ssh_config if ~/.ssh is owned by user.

11 years agosetup.sh: Link ~/.ssh/config if ~/.ssh/ exists.
Simon Ruderich [Sat, 13 Apr 2013 01:45:13 +0000 (03:45 +0200)]
setup.sh: Link ~/.ssh/config if ~/.ssh/ exists.

11 years agoshell/env: Add missing timezone to comment.
Simon Ruderich [Thu, 11 Apr 2013 19:49:25 +0000 (21:49 +0200)]
shell/env: Add missing timezone to comment.

11 years agocrontab.d/jobs: Add support to run job every 6 hours.
Simon Ruderich [Fri, 12 Apr 2013 13:54:09 +0000 (15:54 +0200)]
crontab.d/jobs: Add support to run job every 6 hours.

Also add crontab.d/jobs/jobs.hourly6/ directory.

11 years agozsh/rc: Consistently use [[ instead of [.
Simon Ruderich [Thu, 11 Apr 2013 22:30:16 +0000 (00:30 +0200)]
zsh/rc: Consistently use [[ instead of [.

11 years agosshd_config: Minor documentation fix.
Simon Ruderich [Thu, 11 Apr 2013 12:43:27 +0000 (14:43 +0200)]
sshd_config: Minor documentation fix.

11 years agosetup.sh: Create alias for tig (git tig) if it's not available.
Simon Ruderich [Wed, 10 Apr 2013 02:03:09 +0000 (04:03 +0200)]
setup.sh: Create alias for tig (git tig) if it's not available.

11 years agoshell/dircolors: Color "NEWS" file.
Simon Ruderich [Wed, 10 Apr 2013 01:33:34 +0000 (03:33 +0200)]
shell/dircolors: Color "NEWS" file.

11 years agoshell/aliases: Add aliases lt (ls -lt) and lat (ls -alt).
Simon Ruderich [Wed, 10 Apr 2013 01:29:31 +0000 (03:29 +0200)]
shell/aliases: Add aliases lt (ls -lt) and lat (ls -alt).

11 years agobin/pdftotext-: Remove.
Simon Ruderich [Sun, 7 Apr 2013 01:58:02 +0000 (03:58 +0200)]
bin/pdftotext-: Remove.

Moved to vcs repository.

11 years agoshell/functions: Cleanup.
Simon Ruderich [Wed, 3 Apr 2013 21:39:01 +0000 (23:39 +0200)]
shell/functions: Cleanup.

11 years agoshell/aliases: Run `unalias` for mv and cp.
Simon Ruderich [Tue, 2 Apr 2013 02:38:56 +0000 (04:38 +0200)]
shell/aliases: Run `unalias` for mv and cp.

11 years agoshell/aliases: Add aliases mv (mv -i) and cp (cp -i -a).
Simon Ruderich [Tue, 2 Apr 2013 01:33:59 +0000 (03:33 +0200)]
shell/aliases: Add aliases mv (mv -i) and cp (cp -i -a).

11 years agocsh/rc: Only exec Zsh when it's available.
Simon Ruderich [Mon, 1 Apr 2013 22:02:27 +0000 (00:02 +0200)]
csh/rc: Only exec Zsh when it's available.

11 years agoMinor documentation updates.
Simon Ruderich [Mon, 1 Apr 2013 21:31:54 +0000 (23:31 +0200)]
Minor documentation updates.

11 years agozsh/rc: Underline hostname when running on a remote system.
Simon Ruderich [Mon, 1 Apr 2013 21:24:25 +0000 (23:24 +0200)]
zsh/rc: Underline hostname when running on a remote system.

Makes it very easy to spot what isn't running on a local machine.

11 years agobin/calc: Add s() to convert number to scientific notation.
Simon Ruderich [Mon, 1 Apr 2013 21:22:37 +0000 (23:22 +0200)]
bin/calc: Add s() to convert number to scientific notation.

11 years agoshell/dircolors: $LS_COLORS settings in more readable form.
Simon Ruderich [Mon, 1 Apr 2013 20:36:40 +0000 (22:36 +0200)]
shell/dircolors: $LS_COLORS settings in more readable form.

Moved from shell/env.

Also added a few new color settings.

11 years agocrontab.d/jobs: Add. Run jobs with run-parts regularly.
Simon Ruderich [Mon, 1 Apr 2013 20:14:13 +0000 (22:14 +0200)]
crontab.d/jobs: Add. Run jobs with run-parts regularly.

Also add the directories jobs.hourly/, jobs.hourly8/, jobs.daily/,
jobs.weekly/, jobs.monthly/.

11 years agocrontab.d/update.sh: Expand $HOME when changing $PATH in crontab files.
Simon Ruderich [Mon, 1 Apr 2013 17:26:55 +0000 (19:26 +0200)]
crontab.d/update.sh: Expand $HOME when changing $PATH in crontab files.

11 years agosshd_config: Add (disabled) MaxSessions setting.
Simon Ruderich [Sat, 30 Mar 2013 00:19:32 +0000 (01:19 +0100)]
sshd_config: Add (disabled) MaxSessions setting.

11 years agossh_config: Use ControlMaster auto.
Simon Ruderich [Sat, 30 Mar 2013 00:15:28 +0000 (01:15 +0100)]
ssh_config: Use ControlMaster auto.

11 years agocrontab.d/update.sh: Use C sort order when reading files.
Simon Ruderich [Wed, 27 Mar 2013 16:47:06 +0000 (17:47 +0100)]
crontab.d/update.sh: Use C sort order when reading files.

11 years agozsh/rc: Cleanup prompt creation.
Simon Ruderich [Sat, 23 Mar 2013 21:27:56 +0000 (22:27 +0100)]
zsh/rc: Cleanup prompt creation.

Also remove over-complicated check for terminals which can't fit the
top_right part (which almost never happens). This will cause a
line-wrapped prompt now.

Unchanged prompt content.

11 years agosetup.sh: Fix ls color detection.
Simon Ruderich [Tue, 12 Mar 2013 17:20:11 +0000 (18:20 +0100)]
setup.sh: Fix ls color detection.

Broken with set -e change in aa9db4c1b656eab6774b5ae1ade7c6f8bb13a01f.

11 years agosetup.sh,shell/aliases: Only use `column -t` if it's available.
Simon Ruderich [Sun, 10 Mar 2013 22:54:45 +0000 (23:54 +0100)]
setup.sh,shell/aliases: Only use `column -t` if it's available.

11 years agosetup.sh: Don't use `which`.
Simon Ruderich [Sun, 10 Mar 2013 22:44:51 +0000 (23:44 +0100)]
setup.sh: Don't use `which`.

11 years agoscreenrc: Minor documentation update.
Simon Ruderich [Sun, 10 Mar 2013 20:50:46 +0000 (21:50 +0100)]
screenrc: Minor documentation update.

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.