diff options
author | Tom Ryder <tom@sanctum.geek.nz> | 2017-11-04 01:32:01 +1300 |
---|---|---|
committer | Tom Ryder <tom@sanctum.geek.nz> | 2017-11-04 01:32:01 +1300 |
commit | 37c926484756e91ff0eda5e373c04548df82090e (patch) | |
tree | 98858719ae84794cae76fc98f1c46dd22a8575fd /tidy/profile.d | |
parent | Merge branch 'release/v0.5.0' into develop (diff) | |
download | dotfiles-37c926484756e91ff0eda5e373c04548df82090e.tar.gz dotfiles-37c926484756e91ff0eda5e373c04548df82090e.zip |
Add ~/.tidyrc and accompanying Makefile target
This target also installs a short shell script in ~/.profile.d to set
and export the HTML_TIDY environment variable that defines the path to
the configuration file. tidy(1) seems to need this to be explicitly set
with a default build, as far as I can tell.
This pairs nicely with the settings in vim/ftplugin/html.vim.
Diffstat (limited to 'tidy/profile.d')
-rw-r--r-- | tidy/profile.d/tidy.sh | 3 |
1 files changed, 3 insertions, 0 deletions
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 |