aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTom Ryder <tom@sanctum.geek.nz>2017-11-04 01:36:09 +1300
committerTom Ryder <tom@sanctum.geek.nz>2017-11-04 01:36:09 +1300
commitd2b59a3747932262ce14fd70e909c2633f25e937 (patch)
treebafb487b6aac67d9920ffc80f8ab8ccdddaa981b
parentMerge branch 'release/v0.5.0' (diff)
parentBump version number to 0.6.0 (diff)
downloaddotfiles-0.6.0.tar.gz (sig)
dotfiles-0.6.0.zip
Merge branch 'release/v0.6.0'v0.6.0
* release/v0.6.0: Bump version number to 0.6.0 Add ~/.tidyrc and accompanying Makefile target
-rw-r--r--Makefile5
-rw-r--r--README.md1
-rw-r--r--VERSION4
-rw-r--r--tidy/profile.d/tidy.sh3
-rw-r--r--tidy/tidyrc20
5 files changed, 31 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index c09541fd..e80a1ed8 100644
--- a/Makefile
+++ b/Makefile
@@ -34,6 +34,7 @@
install-sh \
install-subversion \
install-terminfo \
+ install-tidy \
install-tmux \
install-urxvt \
install-vim \
@@ -463,6 +464,10 @@ install-terminfo:
find terminfo -type f -name '*.info' \
-exec tic -- {} \;
+install-tidy: install-sh
+ cp -p -- tidy/profile.d/* $(HOME)/.profile.d
+ cp -p -- tidy/tidyrc $(HOME)/.tidyrc
+
install-tmux: tmux/tmux.conf install-terminfo
cp -p -- tmux/tmux.conf $(HOME)/.tmux.conf
diff --git a/README.md b/README.md
index c3ffbf44..361cfa62 100644
--- a/README.md
+++ b/README.md
@@ -93,6 +93,7 @@ Configuration is included for:
the rxvt terminal emulator with Unicode support
* [Subversion](https://subversion.apache.org/) -- Apache Subversion, a
version control system
+* [tidy](http://www.html-tidy.org/) -- HTML/XHTML linter and tidier
* [tmux](https://tmux.github.io/) -- Terminal multiplexer similar to GNU
Screen
* [Vim](http://www.vim.org/) -- Vi IMproved, a text editor
diff --git a/VERSION b/VERSION
index e9f5dabc..6f3e5331 100644
--- a/VERSION
+++ b/VERSION
@@ -1,2 +1,2 @@
-tejr dotfiles v0.5.0
-Fri Nov 3 12:05:08 UTC 2017
+tejr dotfiles v0.6.0
+Fri Nov 3 12:35:33 UTC 2017
diff --git a/tidy/profile.d/tidy.sh b/tidy/profile.d/tidy.sh
new file mode 100644
index 00000000..177a8124
--- /dev/null
+++ b/tidy/profile.d/tidy.sh
@@ -0,0 +1,3 @@
+# Set a configuration file path for tidy(1)
+HTML_TIDY=$HOME/.tidyrc
+export HTML_TIDY
diff --git a/tidy/tidyrc b/tidy/tidyrc
new file mode 100644
index 00000000..65f93112
--- /dev/null
+++ b/tidy/tidyrc
@@ -0,0 +1,20 @@
+# UTF-8 everywhere by default
+char-encoding: utf8
+input-encoding: utf8
+output-encoding: utf8
+
+# Seems reasonable
+drop-empty-paras: yes
+
+# Indent to four spaces
+indent: yes
+indent-spaces: 4
+
+# Shut up please
+quiet: yes
+
+# Don't mess with my <meta>
+tidy-mark: no
+
+# Don't wrap
+wrap: 0