]> ruderich.org/simon Gitweb - config/dotfiles.git/log
config/dotfiles.git
6 years agoshell/bin/calc: convert to python3
Simon Ruderich [Sun, 17 Jun 2018 06:22:20 +0000 (08:22 +0200)]
shell/bin/calc: convert to python3

6 years agovim/vimrc: use cryptmethod=blowfish2 if available
Simon Ruderich [Sun, 17 Jun 2018 06:20:26 +0000 (08:20 +0200)]
vim/vimrc: use cryptmethod=blowfish2 if available

6 years agovim/vimrc: move helper functions to the top
Simon Ruderich [Sun, 17 Jun 2018 06:19:41 +0000 (08:19 +0200)]
vim/vimrc: move helper functions to the top

6 years agoxmonad: adapt bindings to current herbstluftwm setup
Simon Ruderich [Sun, 17 Jun 2018 06:18:45 +0000 (08:18 +0200)]
xmonad: adapt bindings to current herbstluftwm setup

6 years agoxmonad: remove outdated comment
Simon Ruderich [Sun, 17 Jun 2018 06:18:29 +0000 (08:18 +0200)]
xmonad: remove outdated comment

6 years agopsql: use database-specific history file
Simon Ruderich [Sat, 16 Jun 2018 20:07:25 +0000 (22:07 +0200)]
psql: use database-specific history file

This way commands from different projects isn't mixed.

6 years agovcs/gitconfig: replace "stash save" with "stash push" in aliases
Simon Ruderich [Wed, 13 Jun 2018 15:06:21 +0000 (17:06 +0200)]
vcs/gitconfig: replace "stash save" with "stash push" in aliases

"stash push" supports stashing only parts of the working tree which is
very useful. We keep the "ss" alias as "stash push" would conflict with
the existing alias for "stash pop".

6 years agovcs/tigrc: disable "Reviewed-by" and "Tested-by" coloring
Simon Ruderich [Wed, 13 Jun 2018 15:01:49 +0000 (17:01 +0200)]
vcs/tigrc: disable "Reviewed-by" and "Tested-by" coloring

6 years agovcs/tigrc: sort options
Simon Ruderich [Wed, 13 Jun 2018 15:00:13 +0000 (17:00 +0200)]
vcs/tigrc: sort options

6 years agovcs/tigrc: disable history-size option in tig < 2.3
Simon Ruderich [Wed, 13 Jun 2018 14:56:21 +0000 (16:56 +0200)]
vcs/tigrc: disable history-size option in tig < 2.3

Prevents an annoying error message on each tig start.

6 years agovcs: remove support for tig < 2.0
Simon Ruderich [Wed, 13 Jun 2018 10:27:30 +0000 (12:27 +0200)]
vcs: remove support for tig < 2.0

Even jessie (oldstable) has tig 2.0, so remove this unnecessary
duplication.

6 years agovcs/git: disable textconv rules
Simon Ruderich [Wed, 13 Jun 2018 08:18:12 +0000 (10:18 +0200)]
vcs/git: disable textconv rules

See c8e829d ("vcs/git: remove global gitattributes file", 2018-06-13).

6 years agovcs/git: remove global gitattributes file
Simon Ruderich [Wed, 13 Jun 2018 08:13:03 +0000 (10:13 +0200)]
vcs/git: remove global gitattributes file

It's stupid and dangerous to automatically extract random PDFs and gzip
archives of all repositories.

6 years agovim: remove filetype autocmd for mkd (markdown)
Simon Ruderich [Sun, 10 Jun 2018 10:36:16 +0000 (12:36 +0200)]
vim: remove filetype autocmd for mkd (markdown)

Vim switched to filetype=markdown and also enabled it per default for
*.md files.

6 years agolib.sh: remove unnecessary escaping
Simon Ruderich [Sun, 3 Jun 2018 16:21:06 +0000 (18:21 +0200)]
lib.sh: remove unnecessary escaping

"~" shouldn't require escaping.

6 years agolib.sh: escape \b in double quoted string
Simon Ruderich [Sun, 3 Jun 2018 16:20:05 +0000 (18:20 +0200)]
lib.sh: escape \b in double quoted string

Just a warning from shellcheck, but lets fix it.

6 years agolib.sh: abort if cd fails
Simon Ruderich [Sun, 3 Jun 2018 16:18:20 +0000 (18:18 +0200)]
lib.sh: abort if cd fails

6 years agoos: remove old scripts
Simon Ruderich [Sun, 3 Jun 2018 16:16:53 +0000 (18:16 +0200)]
os: remove old scripts

6 years agoUse command grouping to reduce number of redirects
Simon Ruderich [Sun, 3 Jun 2018 16:14:06 +0000 (18:14 +0200)]
Use command grouping to reduce number of redirects

Suggested by shellcheck and makes the code more readable.

6 years agolib.sh: add missing quotes
Simon Ruderich [Sun, 3 Jun 2018 16:10:16 +0000 (18:10 +0200)]
lib.sh: add missing quotes

Found by shellcheck.

6 years agoAlways use single quotes for printf format string
Simon Ruderich [Sun, 3 Jun 2018 16:08:25 +0000 (18:08 +0200)]
Always use single quotes for printf format string

"\n" is literal, but causes a warning in shellcheck. As single quotes
are better suited for the format string (they interpolate nothing)
switch to single quotes.

6 years agoRemove lib.m4
Simon Ruderich [Sun, 3 Jun 2018 15:58:12 +0000 (17:58 +0200)]
Remove lib.m4

m4 is no longer used to generate files.

6 years agoos: remove old nocreeps.pub public key
Simon Ruderich [Sun, 3 Jun 2018 15:56:49 +0000 (17:56 +0200)]
os: remove old nocreeps.pub public key

Unused for quite some time.

6 years agoRemove support for OS X
Simon Ruderich [Sun, 3 Jun 2018 15:55:41 +0000 (17:55 +0200)]
Remove support for OS X

I haven't been using OS X for many years so remove this unused and
outdated code and config.

6 years agoMerge branch 'multimedia' again
Simon Ruderich [Sat, 2 Jun 2018 12:46:19 +0000 (14:46 +0200)]
Merge branch 'multimedia' again

Forgot a few commits in the original merge.

6 years agolib.sh: update comment
Simon Ruderich [Sat, 2 Jun 2018 11:53:17 +0000 (13:53 +0200)]
lib.sh: update comment

6 years agoarchive.sh: adapt to new dotfiles repository
Simon Ruderich [Sat, 2 Jun 2018 11:51:33 +0000 (13:51 +0200)]
archive.sh: adapt to new dotfiles repository

There's just one big repository now. Additional repositories which might
contain private must be copied manually.

6 years agoMerge branch 'multimedia'
Simon Ruderich [Sat, 2 Jun 2018 11:48:15 +0000 (13:48 +0200)]
Merge branch 'multimedia'

6 years agoMove to multimedia/ in preparation for merge into new dotfiles repository
Simon Ruderich [Sat, 2 Jun 2018 11:47:57 +0000 (13:47 +0200)]
Move to multimedia/ in preparation for merge into new dotfiles repository

6 years agoMerge branch 'x11'
Simon Ruderich [Sat, 2 Jun 2018 11:46:50 +0000 (13:46 +0200)]
Merge branch 'x11'

6 years agoMove to x11/ in preparation for merge into new dotfiles repository
Simon Ruderich [Sat, 2 Jun 2018 11:46:42 +0000 (13:46 +0200)]
Move to x11/ in preparation for merge into new dotfiles repository

6 years agoMerge branch 'mail'
Simon Ruderich [Sat, 2 Jun 2018 11:45:42 +0000 (13:45 +0200)]
Merge branch 'mail'

6 years agoMove to mail/ in preparation for merge into new dotfiles repository
Simon Ruderich [Sat, 2 Jun 2018 11:45:22 +0000 (13:45 +0200)]
Move to mail/ in preparation for merge into new dotfiles repository

6 years agoMerge branch 'misc'
Simon Ruderich [Sat, 2 Jun 2018 11:44:06 +0000 (13:44 +0200)]
Merge branch 'misc'

6 years agoMove to misc/ in preparation for merge into new dotfiles repository
Simon Ruderich [Sat, 2 Jun 2018 11:43:50 +0000 (13:43 +0200)]
Move to misc/ in preparation for merge into new dotfiles repository

6 years agoMerge branch 'os'
Simon Ruderich [Sat, 2 Jun 2018 11:40:59 +0000 (13:40 +0200)]
Merge branch 'os'

6 years agoMove to os/ in preparation for merge into new dotfiles repository
Simon Ruderich [Sat, 2 Jun 2018 11:40:37 +0000 (13:40 +0200)]
Move to os/ in preparation for merge into new dotfiles repository

6 years agoMerge branch 'vim'
Simon Ruderich [Sat, 2 Jun 2018 11:37:39 +0000 (13:37 +0200)]
Merge branch 'vim'

6 years agoMove to vim/ in preparation for merge into new dotfiles repository
Simon Ruderich [Sat, 2 Jun 2018 11:36:46 +0000 (13:36 +0200)]
Move to vim/ in preparation for merge into new dotfiles repository

6 years agovcs/.gitignore: remove hgrc
Simon Ruderich [Sat, 2 Jun 2018 11:31:25 +0000 (13:31 +0200)]
vcs/.gitignore: remove hgrc

It hasn't be autogenerated for a long time, since 74faba2 ("setup.sh: No
need to convert hgrc with m4 anymore.", 2013-10-22).

6 years agoMerge branch 'vcs'
Simon Ruderich [Sat, 2 Jun 2018 11:31:07 +0000 (13:31 +0200)]
Merge branch 'vcs'

6 years agoMove to vcs/ in preparation for merge into new dotfiles repository
Simon Ruderich [Sat, 2 Jun 2018 11:30:53 +0000 (13:30 +0200)]
Move to vcs/ in preparation for merge into new dotfiles repository

6 years agoMerge branch 'shell'
Simon Ruderich [Sat, 2 Jun 2018 11:27:07 +0000 (13:27 +0200)]
Merge branch 'shell'

6 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 agoMerge branch 'dotfiles'
Simon Ruderich [Sat, 2 Jun 2018 11:23:45 +0000 (13:23 +0200)]
Merge branch 'dotfiles'

6 years agosetup.sh: use proper quoting for printf format
Simon Ruderich [Sat, 2 Jun 2018 11:22:33 +0000 (13:22 +0200)]
setup.sh: use proper quoting for printf format

6 years agoREADME: remove in preparation of merge into new dotfiles repository
Simon Ruderich [Sat, 2 Jun 2018 11:20:40 +0000 (13:20 +0200)]
README: remove in preparation of merge into new dotfiles repository

6 years agoInitial commit of new dotfiles repository
Simon Ruderich [Sat, 2 Jun 2018 11:17:56 +0000 (13:17 +0200)]
Initial commit of new dotfiles repository

6 years agogitconfig: disable annoying editor advice message
Simon Ruderich [Fri, 6 Apr 2018 09:40:25 +0000 (11:40 +0200)]
gitconfig: disable annoying editor advice message

I use vim in the terminal and the advice causes an annoying flicker.

6 years agogitconfig: use single-letter commands for git rebase -i
Simon Ruderich [Fri, 6 Apr 2018 09:39:27 +0000 (11:39 +0200)]
gitconfig: use single-letter commands for git rebase -i

6 years agogitconfig: indent a few comments
Simon Ruderich [Fri, 6 Apr 2018 09:39:09 +0000 (11:39 +0200)]
gitconfig: indent a few comments

6 years agogitconfig: consistently use "true" for boolean true values
Simon Ruderich [Fri, 6 Apr 2018 09:38:26 +0000 (11:38 +0200)]
gitconfig: consistently use "true" for boolean true values

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 agotigrc: don't create ~/.tig_history
Simon Ruderich [Sat, 16 Dec 2017 11:48:32 +0000 (12:48 +0100)]
tigrc: don't create ~/.tig_history

6 years agogitconfig: add ld alias to describe commits
Simon Ruderich [Sat, 9 Dec 2017 13:58:41 +0000 (14:58 +0100)]
gitconfig: add ld alias to describe commits

Can be used to describe commits in commit messages with enough context
for the reader.

7 years agogitconfig: enable diff move detection
Simon Ruderich [Wed, 22 Nov 2017 10:07:53 +0000 (11:07 +0100)]
gitconfig: enable diff move detection

7 years agogitconfig: clarify diff commands
Simon Ruderich [Wed, 22 Nov 2017 10:07:12 +0000 (11:07 +0100)]
gitconfig: clarify diff commands

7 years agogitconfig: add cp alias (git cherry-pick)
Simon Ruderich [Sat, 23 Sep 2017 14:59:39 +0000 (16:59 +0200)]
gitconfig: add cp alias (git cherry-pick)

7 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

7 years agoherbstluftwm/autostart: also create tag 0
Simon Ruderich [Thu, 7 Sep 2017 10:00:21 +0000 (12:00 +0200)]
herbstluftwm/autostart: also create tag 0

One more tag is nice and fits the number placement on the keyboard.

7 years agoXresources: replace size= with pixelsize= to handle recent fontconfig change
Simon Ruderich [Thu, 7 Sep 2017 09:59:23 +0000 (11:59 +0200)]
Xresources: replace size= with pixelsize= to handle recent fontconfig change

Result looks the same.

7 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

7 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

7 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

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

7 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

7 years agopsql: add vim modeline
Simon Ruderich [Sat, 15 Jul 2017 17:11:10 +0000 (19:11 +0200)]
psql: add vim modeline

7 years agopsql: remove COMP_KEYWORD_CASE upper
Simon Ruderich [Sat, 15 Jul 2017 17:09:53 +0000 (19:09 +0200)]
psql: remove COMP_KEYWORD_CASE upper

Makes recalling old commands from history more difficult because the
case is not unique. As I tend to write queries in lowercase keeping
everything lowercase yields better results.

7 years agopsql: color database name
Simon Ruderich [Wed, 5 Jul 2017 08:09:09 +0000 (10:09 +0200)]
psql: color database name

7 years agopsql: make PROMPT2 easily distinguishable from PROMPT1
Simon Ruderich [Wed, 5 Jul 2017 08:08:50 +0000 (10:08 +0200)]
psql: make PROMPT2 easily distinguishable from PROMPT1

7 years agopsql: don't abort transactions in interactive mode on error
Simon Ruderich [Wed, 5 Jul 2017 08:05:38 +0000 (10:05 +0200)]
psql: don't abort transactions in interactive mode on error

7 years agopsql: add transaction status to prompt
Simon Ruderich [Wed, 5 Jul 2017 07:50:23 +0000 (09:50 +0200)]
psql: add transaction status to prompt

7 years agopsql: mark NULL values
Simon Ruderich [Wed, 5 Jul 2017 07:49:48 +0000 (09:49 +0200)]
psql: mark NULL values

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

8 years agompv: replace deprecated options and properties
Simon Ruderich [Sun, 20 Nov 2016 03:34:39 +0000 (04:34 +0100)]
mpv: replace deprecated options and properties

8 years agogitconfig: disable annex.sshcaching
Simon Ruderich [Sun, 6 Nov 2016 11:44:54 +0000 (12:44 +0100)]
gitconfig: disable annex.sshcaching

8 years agogitconfig: enable diff.mnemonicprefix
Simon Ruderich [Sun, 6 Nov 2016 11:43:50 +0000 (12:43 +0100)]
gitconfig: enable diff.mnemonicprefix

8 years agogitconfig: add sm alias (submodule)
Simon Ruderich [Sun, 6 Nov 2016 11:43:23 +0000 (12:43 +0100)]
gitconfig: add sm alias (submodule)

8 years agopsql: add, postgresql configuration file
Simon Ruderich [Sun, 6 Nov 2016 11:37:25 +0000 (12:37 +0100)]
psql: add, postgresql configuration file

8 years agompv: remove unused sub-option in ao option
Simon Ruderich [Fri, 21 Oct 2016 23:58:03 +0000 (01:58 +0200)]
mpv: remove unused sub-option in ao option

No longer necessary since 9eff1c ("mpv: remove softvol, add volume")
which removed support for direct ALSA mixing.

8 years agompv: always hide the cursor
Simon Ruderich [Fri, 21 Oct 2016 20:17:37 +0000 (22:17 +0200)]
mpv: always hide the cursor

8 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

8 years agompv: remove softvol, add volume
Simon Ruderich [Sun, 11 Sep 2016 02:36:37 +0000 (04:36 +0200)]
mpv: remove softvol, add volume

softvol is no longer supported since 0.18.1.

8 years agompv: use fuzzy matching to find subtitles
Simon Ruderich [Sun, 21 Aug 2016 00:35:03 +0000 (02:35 +0200)]
mpv: use fuzzy matching to find subtitles

8 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

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

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

8 years agot/test.sh: minor cleanup
Simon Ruderich [Tue, 12 Jul 2016 12:45:31 +0000 (14:45 +0200)]
t/test.sh: minor cleanup

8 years agosetup.sh: remove unnecessary line wrap
Simon Ruderich [Tue, 12 Jul 2016 12:45:16 +0000 (14:45 +0200)]
setup.sh: remove unnecessary line wrap

8 years agogitconfig: set log.follow
Simon Ruderich [Tue, 12 Jul 2016 12:44:38 +0000 (14:44 +0200)]
gitconfig: set log.follow

8 years agogitconfig: add rv alias (git revert)
Simon Ruderich [Tue, 12 Jul 2016 12:44:24 +0000 (14:44 +0200)]
gitconfig: add rv alias (git revert)

8 years agogitconfig: add gi alias (grep --ignore-case)
Simon Ruderich [Tue, 12 Jul 2016 12:44:08 +0000 (14:44 +0200)]
gitconfig: add gi alias (grep --ignore-case)

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

8 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

8 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/

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

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

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