diff options
-rw-r--r-- | Makefile | 5 | ||||
-rw-r--r-- | README.md | 1 | ||||
-rw-r--r-- | VERSION | 4 | ||||
-rw-r--r-- | tidy/profile.d/tidy.sh | 3 | ||||
-rw-r--r-- | tidy/tidyrc | 20 |
5 files changed, 31 insertions, 2 deletions
@@ -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 @@ -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 @@ -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 |