]> ruderich.org/simon Gitweb - config/dotfiles.git/log
config/dotfiles.git
5 years agoMove to shell/ in preparation for merge into new dotfiles repository
Simon Ruderich [Sat, 2 Jun 2018 11:26:25 +0000 (13:26 +0200)]
Move to shell/ in preparation for merge into new dotfiles repository

6 years agoshell/dircolors: support README.adoc
Simon Ruderich [Sat, 24 Mar 2018 18:24:35 +0000 (19:24 +0100)]
shell/dircolors: support README.adoc

6 years agozsh/rc: fix `reset` with zsh-internal colored stderr hack
Simon Ruderich [Thu, 7 Sep 2017 10:04:02 +0000 (12:04 +0200)]
zsh/rc: fix `reset` with zsh-internal colored stderr hack

6 years agossh_config: fix typo in comment
Simon Ruderich [Thu, 7 Sep 2017 09:50:07 +0000 (11:50 +0200)]
ssh_config: fix typo in comment

6 years agoshell/aliases: fix typo in comment
Simon Ruderich [Thu, 7 Sep 2017 09:49:26 +0000 (11:49 +0200)]
shell/aliases: fix typo in comment

6 years agobin/battery.pl: display charging status
Simon Ruderich [Thu, 7 Sep 2017 09:48:31 +0000 (11:48 +0200)]
bin/battery.pl: display charging status

6 years agoshell/aliases: mj: add $(nproc)
Simon Ruderich [Thu, 7 Sep 2017 09:47:37 +0000 (11:47 +0200)]
shell/aliases: mj: add $(nproc)

Running with unlimited parallel processes is dangerous (and stupid).

6 years agoshell/alias: add mc alias for machinectl
Simon Ruderich [Thu, 7 Sep 2017 09:31:47 +0000 (11:31 +0200)]
shell/alias: add mc alias for machinectl

6 years agobin/srsync-incremental: remove target directory if empty
Simon Ruderich [Thu, 22 Jun 2017 12:52:01 +0000 (14:52 +0200)]
bin/srsync-incremental: remove target directory if empty

7 years agolessfilter: support nfo files
Simon Ruderich [Mon, 24 Apr 2017 10:15:11 +0000 (12:15 +0200)]
lessfilter: support nfo files

7 years agobin/srsync-incremental: add --acls --xattrs
Simon Ruderich [Thu, 30 Mar 2017 21:25:30 +0000 (23:25 +0200)]
bin/srsync-incremental: add --acls --xattrs

No idea why I forgot those options.

7 years agoshell/aliases: disallow su as root
Simon Ruderich [Fri, 14 Oct 2016 00:09:02 +0000 (02:09 +0200)]
shell/aliases: disallow su as root

7 years agosetup.sh: add support for OpenBSD's colorls
Simon Ruderich [Fri, 15 Jul 2016 13:17:03 +0000 (15:17 +0200)]
setup.sh: add support for OpenBSD's colorls

7 years agosetup.sh: simplify ls detection
Simon Ruderich [Fri, 15 Jul 2016 13:15:49 +0000 (15:15 +0200)]
setup.sh: simplify ls detection

7 years agobash/rc: improve comment
Simon Ruderich [Tue, 12 Jul 2016 12:48:10 +0000 (14:48 +0200)]
bash/rc: improve comment

7 years agosshd_config: disable KbdInteractiveAuthentication
Simon Ruderich [Sat, 2 Jul 2016 10:18:46 +0000 (12:18 +0200)]
sshd_config: disable KbdInteractiveAuthentication

Already disabled because the value of ChallengeResponseAuthentication is
used per default, but make it explicit.

7 years agossh_config: set VerifyHostKeyDNS to ask
Simon Ruderich [Sat, 2 Jul 2016 10:08:01 +0000 (12:08 +0200)]
ssh_config: set VerifyHostKeyDNS to ask

7 years agossh_config: store ControlMaster socket in ~/.ssh/master/
Simon Ruderich [Sat, 2 Jul 2016 10:05:56 +0000 (12:05 +0200)]
ssh_config: store ControlMaster socket in ~/.ssh/master/

7 years agossh_config: reorder HashKnownHosts option
Simon Ruderich [Sat, 2 Jul 2016 10:04:46 +0000 (12:04 +0200)]
ssh_config: reorder HashKnownHosts option

7 years agoshell/env: export MTR_OPTIONS
Simon Ruderich [Sat, 2 Jul 2016 09:54:52 +0000 (11:54 +0200)]
shell/env: export MTR_OPTIONS

7 years agoscreenrc: add perl6 braces digraphs
Simon Ruderich [Sat, 2 Jul 2016 09:52:15 +0000 (11:52 +0200)]
screenrc: add perl6 braces digraphs

7 years agoRevert "bin/srsync: add --protect-args"
Simon Ruderich [Tue, 17 May 2016 10:00:40 +0000 (12:00 +0200)]
Revert "bin/srsync: add --protect-args"

This reverts commit 362e50fba3d66be6749c85b0ee2f720d0b53e486.

It breaks zsh's tab completion which assumes arguments must be escaped.
And as I had never problems with it, the old behavior is fine.

7 years agoshell/aliases: add alias for git annex (ga)
Simon Ruderich [Tue, 3 May 2016 18:05:56 +0000 (20:05 +0200)]
shell/aliases: add alias for git annex (ga)

8 years agobin/srsync: add --protect-args
Simon Ruderich [Tue, 29 Mar 2016 13:45:21 +0000 (15:45 +0200)]
bin/srsync: add --protect-args

Thanks to johnLate.

8 years agobin/srsync-incremental: use a unique target directory
Simon Ruderich [Wed, 3 Feb 2016 11:13:49 +0000 (12:13 +0100)]
bin/srsync-incremental: use a unique target directory

This replaces the "current" target directory. In the past when a backup
failed the "current" directory remained causing all future backups to
fail as well.

8 years agozsh/rc: zshrc_longrun_preexec: add missing local
Simon Ruderich [Thu, 26 Nov 2015 11:11:19 +0000 (12:11 +0100)]
zsh/rc: zshrc_longrun_preexec: add missing local

8 years agoshell/aliases: add rs alias for reset
Simon Ruderich [Fri, 9 Oct 2015 22:11:25 +0000 (00:11 +0200)]
shell/aliases: add rs alias for reset

8 years agozsh/rc: don't load ~/.zsh/env.update if older than reboot
Simon Ruderich [Fri, 9 Oct 2015 22:09:52 +0000 (00:09 +0200)]
zsh/rc: don't load ~/.zsh/env.update if older than reboot

8 years agohtoprc: display thread names
Simon Ruderich [Fri, 9 Oct 2015 22:06:25 +0000 (00:06 +0200)]
htoprc: display thread names

8 years agobin/srsync-incremental: fix initial backup
Simon Ruderich [Fri, 2 Oct 2015 02:55:33 +0000 (04:55 +0200)]
bin/srsync-incremental: fix initial backup

8 years agozsh/rc: load ~/.zsh/env.update before each prompt
Simon Ruderich [Fri, 2 Oct 2015 01:47:54 +0000 (03:47 +0200)]
zsh/rc: load ~/.zsh/env.update before each prompt

8 years agoadd wrapper for systemctl with shorter commands
Simon Ruderich [Fri, 25 Sep 2015 14:31:51 +0000 (16:31 +0200)]
add wrapper for systemctl with shorter commands

8 years agoshell/env: use XDG_RUNTIME_DIR for TMP/TEMP/TEMPDIR if available
Simon Ruderich [Sun, 16 Aug 2015 21:42:46 +0000 (23:42 +0200)]
shell/env: use XDG_RUNTIME_DIR for TMP/TEMP/TEMPDIR if available

8 years agoshell/env: prefer ~/bin over ~/.bin
Simon Ruderich [Sun, 16 Aug 2015 21:42:17 +0000 (23:42 +0200)]
shell/env: prefer ~/bin over ~/.bin

8 years agoshell/aliases: replace tr alias with te (for tree)
Simon Ruderich [Sun, 16 Aug 2015 09:17:41 +0000 (11:17 +0200)]
shell/aliases: replace tr alias with te (for tree)

I guess I'm using `tr` not often enough ...

8 years agoshells/aliases: add multiple new aliases
Simon Ruderich [Mon, 3 Aug 2015 22:07:25 +0000 (00:07 +0200)]
shells/aliases: add multiple new aliases

8 years agobin/srsync: add --acls and --xattrs
Simon Ruderich [Fri, 19 Jun 2015 03:09:34 +0000 (05:09 +0200)]
bin/srsync: add --acls and --xattrs

8 years agoinputrc: update comment
Simon Ruderich [Sun, 14 Jun 2015 21:50:34 +0000 (23:50 +0200)]
inputrc: update comment

9 years agoshell/dircolors: also highlight FAQ and faq
Simon Ruderich [Mon, 6 Apr 2015 22:30:58 +0000 (00:30 +0200)]
shell/dircolors: also highlight FAQ and faq

9 years agoterminfo/README: add
Simon Ruderich [Mon, 6 Apr 2015 22:24:55 +0000 (00:24 +0200)]
terminfo/README: add

9 years agozsh/rc: add X alias to return current X selection
Simon Ruderich [Mon, 6 Apr 2015 22:17:22 +0000 (00:17 +0200)]
zsh/rc: add X alias to return current X selection

9 years agobin/squvi: delete
Simon Ruderich [Mon, 6 Apr 2015 22:16:27 +0000 (00:16 +0200)]
bin/squvi: delete

Use youtube-dl instead.

9 years agozsh/rc: add more files to ignored-patterns for vim
Simon Ruderich [Mon, 9 Mar 2015 09:33:15 +0000 (10:33 +0100)]
zsh/rc: add more files to ignored-patterns for vim

9 years agozsh/rc: add GB, SL aliases
Simon Ruderich [Mon, 9 Mar 2015 09:32:42 +0000 (10:32 +0100)]
zsh/rc: add GB, SL aliases

9 years agoshell/env: don't check ownership for ~/.tmp and ~/tmp
Simon Ruderich [Fri, 20 Feb 2015 09:40:37 +0000 (10:40 +0100)]
shell/env: don't check ownership for ~/.tmp and ~/tmp

If they are not owned by me, something has gone very wrong. Checking
only for the sanity of ~/.tmp and ~/tmp is not enough, so just skip the
check.

9 years agoshell/env: fix quoting
Simon Ruderich [Fri, 20 Feb 2015 09:40:19 +0000 (10:40 +0100)]
shell/env: fix quoting

9 years agobin/svalgrind: add --quiet
Simon Ruderich [Fri, 20 Feb 2015 09:24:46 +0000 (10:24 +0100)]
bin/svalgrind: add --quiet

9 years agoshell/aliases: add systemd aliases
Simon Ruderich [Fri, 20 Feb 2015 09:24:25 +0000 (10:24 +0100)]
shell/aliases: add systemd aliases

9 years agozsh/env: use safe setting for TMPPREFIX
Simon Ruderich [Mon, 22 Dec 2014 20:48:53 +0000 (21:48 +0100)]
zsh/env: use safe setting for TMPPREFIX

9 years agozsh/rc: fix process run time display with fg
Simon Ruderich [Sat, 29 Nov 2014 10:26:44 +0000 (11:26 +0100)]
zsh/rc: fix process run time display with fg

9 years agozsh/rc: improve comments
Simon Ruderich [Sat, 29 Nov 2014 10:26:13 +0000 (11:26 +0100)]
zsh/rc: improve comments

9 years agohtoprc: fix typo in comment
Simon Ruderich [Wed, 29 Oct 2014 10:22:29 +0000 (11:22 +0100)]
htoprc: fix typo in comment

9 years agozsh/rc: use history-incremental-pattern-search-*
Simon Ruderich [Tue, 14 Oct 2014 03:12:13 +0000 (05:12 +0200)]
zsh/rc: use history-incremental-pattern-search-*

9 years agoshell/aliases: add h alias for htop
Simon Ruderich [Wed, 1 Oct 2014 18:20:43 +0000 (20:20 +0200)]
shell/aliases: add h alias for htop

9 years agoshell/aliases: drop space after 2> for consistency
Simon Ruderich [Fri, 19 Sep 2014 09:52:19 +0000 (11:52 +0200)]
shell/aliases: drop space after 2> for consistency

9 years agobin/remove-continuation.pl: read from STDIN only
Simon Ruderich [Fri, 19 Sep 2014 09:51:45 +0000 (11:51 +0200)]
bin/remove-continuation.pl: read from STDIN only

9 years agohtoprc: add meters config
Simon Ruderich [Mon, 15 Sep 2014 22:59:42 +0000 (00:59 +0200)]
htoprc: add meters config

9 years agozsh/rc: don't start screen if $TERM = dialup
Simon Ruderich [Sun, 14 Sep 2014 14:51:16 +0000 (16:51 +0200)]
zsh/rc: don't start screen if $TERM = dialup

screen fails to start on this terminal.

9 years agosetup.sh: don't display hidden files on BSD's ls as root
Simon Ruderich [Sun, 14 Sep 2014 14:50:04 +0000 (16:50 +0200)]
setup.sh: don't display hidden files on BSD's ls as root

9 years agofix lesspipe setup for Gentoo
Simon Ruderich [Mon, 25 Aug 2014 01:04:11 +0000 (03:04 +0200)]
fix lesspipe setup for Gentoo

Also move it from zsh/env to shell/env.

9 years agozsh/env: remove unnecessary quotes
Simon Ruderich [Mon, 18 Aug 2014 22:18:14 +0000 (00:18 +0200)]
zsh/env: remove unnecessary quotes

9 years agouse more set -eu
Simon Ruderich [Mon, 18 Aug 2014 22:16:42 +0000 (00:16 +0200)]
use more set -eu

9 years agohaskeline: add, readline clone
Simon Ruderich [Sun, 17 Aug 2014 22:22:49 +0000 (00:22 +0200)]
haskeline: add, readline clone

9 years agozsh/rc: remove more unnecessary quotes
Simon Ruderich [Sun, 22 Jun 2014 14:41:08 +0000 (16:41 +0200)]
zsh/rc: remove more unnecessary quotes

9 years agobin/svalgrind-ptr: remove
Simon Ruderich [Sun, 22 Jun 2014 14:11:46 +0000 (16:11 +0200)]
bin/svalgrind-ptr: remove

Unused.

9 years agozsh/rc: add katarakt as preferred PDF viewer
Simon Ruderich [Sun, 22 Jun 2014 14:11:13 +0000 (16:11 +0200)]
zsh/rc: add katarakt as preferred PDF viewer

9 years agozsh/rc: increase history to 1_000_000 entries
Simon Ruderich [Sun, 22 Jun 2014 14:07:40 +0000 (16:07 +0200)]
zsh/rc: increase history to 1_000_000 entries

Should be ~20 MiB.

9 years agouse set -eu
Simon Ruderich [Sat, 21 Jun 2014 12:35:22 +0000 (14:35 +0200)]
use set -eu

Also correct check if $SSH_CONNECTION is set.

9 years agoshell/env: reset all LC_* variables
Simon Ruderich [Mon, 9 Jun 2014 12:45:18 +0000 (14:45 +0200)]
shell/env: reset all LC_* variables

9 years agoshell/aliases: remove unused alias `:q`
Simon Ruderich [Mon, 9 Jun 2014 12:43:15 +0000 (14:43 +0200)]
shell/aliases: remove unused alias `:q`

9 years agoshell/aliases: move some commands from zsh/rc
Simon Ruderich [Mon, 9 Jun 2014 12:42:29 +0000 (14:42 +0200)]
shell/aliases: move some commands from zsh/rc

9 years agoshell/aliases: use `command`
Simon Ruderich [Mon, 9 Jun 2014 12:41:19 +0000 (14:41 +0200)]
shell/aliases: use `command`

No need to store the absolute path to the binary.

9 years agozsh/rc: remove unnecessary quotes
Simon Ruderich [Mon, 9 Jun 2014 12:37:53 +0000 (14:37 +0200)]
zsh/rc: remove unnecessary quotes

9 years agoinputrc: add instructions to map keys in Vi command mode
Simon Ruderich [Thu, 29 May 2014 22:26:33 +0000 (00:26 +0200)]
inputrc: add instructions to map keys in Vi command mode

9 years agoinputrc: clear screen in insert mode with C-L
Simon Ruderich [Thu, 29 May 2014 22:25:59 +0000 (00:25 +0200)]
inputrc: clear screen in insert mode with C-L

9 years agobash/rc: PS1: draw current directory in yellow
Simon Ruderich [Thu, 29 May 2014 12:34:17 +0000 (14:34 +0200)]
bash/rc: PS1: draw current directory in yellow

9 years agoremove source_debug()
Simon Ruderich [Tue, 27 May 2014 12:28:19 +0000 (14:28 +0200)]
remove source_debug()

9 years agobin/squvi: handle special characters in file names
Simon Ruderich [Sun, 11 May 2014 21:14:51 +0000 (23:14 +0200)]
bin/squvi: handle special characters in file names

10 years agozsh/rc: cleanup pdf compdefs
Simon Ruderich [Tue, 29 Apr 2014 13:47:16 +0000 (15:47 +0200)]
zsh/rc: cleanup pdf compdefs

10 years agocrontab.d/jobs.daily/prune-logs: follow symlink
Simon Ruderich [Tue, 29 Apr 2014 13:46:23 +0000 (15:46 +0200)]
crontab.d/jobs.daily/prune-logs: follow symlink

find doesn't follow symlinks by default. The "/" forces it to change to
the directory even if it's a symlink.

10 years agoshell/functions: don't use echo on user strings
Simon Ruderich [Tue, 29 Apr 2014 13:26:20 +0000 (15:26 +0200)]
shell/functions: don't use echo on user strings

10 years agoshell/dircolors: add more README file names
Simon Ruderich [Tue, 29 Apr 2014 13:25:36 +0000 (15:25 +0200)]
shell/dircolors: add more README file names

10 years agozsh/rc: add A1, A2, A3 aliases for awk '{ print $X }'
Simon Ruderich [Thu, 3 Apr 2014 08:13:52 +0000 (10:13 +0200)]
zsh/rc: add A1, A2, A3 aliases for awk '{ print $X }'

10 years agoshell/rc: minor documentation update
Simon Ruderich [Thu, 3 Apr 2014 08:09:25 +0000 (10:09 +0200)]
shell/rc: minor documentation update

10 years agobin/rsleep: fix typo in comment
Simon Ruderich [Wed, 2 Apr 2014 21:11:11 +0000 (23:11 +0200)]
bin/rsleep: fix typo in comment

10 years agobin/remove-continuation.pl: minor cleanup
Simon Ruderich [Wed, 2 Apr 2014 21:10:15 +0000 (23:10 +0200)]
bin/remove-continuation.pl: minor cleanup

10 years agoshell/aliases: add t alias for tig
Simon Ruderich [Wed, 2 Apr 2014 21:09:50 +0000 (23:09 +0200)]
shell/aliases: add t alias for tig

10 years agossh_config: use HashKnownHosts no
Simon Ruderich [Sat, 19 Apr 2014 13:13:13 +0000 (15:13 +0200)]
ssh_config: use HashKnownHosts no

10 years agoshell/env: use C locale when sorting
Simon Ruderich [Sat, 19 Apr 2014 12:27:58 +0000 (14:27 +0200)]
shell/env: use C locale when sorting

10 years agoshell/env: unset LC_ALL
Simon Ruderich [Mon, 14 Apr 2014 13:50:45 +0000 (15:50 +0200)]
shell/env: unset LC_ALL

10 years agoshell/dircolors: highlight Makefile
Simon Ruderich [Sat, 22 Mar 2014 21:41:34 +0000 (22:41 +0100)]
shell/dircolors: highlight Makefile

10 years agossh_config: clarify option parsing description
Simon Ruderich [Sat, 22 Mar 2014 18:02:01 +0000 (19:02 +0100)]
ssh_config: clarify option parsing description

10 years agozsh/rc: setopt longlistjobs
Simon Ruderich [Sun, 16 Mar 2014 17:42:38 +0000 (18:42 +0100)]
zsh/rc: setopt longlistjobs

10 years agozsh/rc: replace useless && after autoload with ;
Simon Ruderich [Sun, 16 Mar 2014 17:41:46 +0000 (18:41 +0100)]
zsh/rc: replace useless && after autoload with ;

autoload always returns true.

10 years agozsh/rc: force reload of the completions if nothing matched
Simon Ruderich [Sun, 16 Mar 2014 17:39:17 +0000 (18:39 +0100)]
zsh/rc: force reload of the completions if nothing matched

10 years agozsh/rc: don't correct completion functions
Simon Ruderich [Sun, 16 Mar 2014 17:36:18 +0000 (18:36 +0100)]
zsh/rc: don't correct completion functions

10 years agozsh/rc: tab on empty input lists all files in the directory
Simon Ruderich [Sun, 16 Mar 2014 17:31:41 +0000 (18:31 +0100)]
zsh/rc: tab on empty input lists all files in the directory

10 years agozsh/rc: update alias expansion in window titles
Simon Ruderich [Sun, 16 Mar 2014 17:29:35 +0000 (18:29 +0100)]
zsh/rc: update alias expansion in window titles

10 years agocrontab.d/Makefile: add, runs ./setup.sh
Simon Ruderich [Sun, 16 Mar 2014 16:04:01 +0000 (17:04 +0100)]
crontab.d/Makefile: add, runs ./setup.sh

10 years agoMakefile: add, runs ./setup.sh
Simon Ruderich [Sun, 16 Mar 2014 15:19:53 +0000 (16:19 +0100)]
Makefile: add, runs ./setup.sh