diff --git a/bin/executable_gocov.sh b/bin/executable_gocov.sh new file mode 100644 index 0000000..53c3cef --- /dev/null +++ b/bin/executable_gocov.sh @@ -0,0 +1,22 @@ +#!/bin/bash +set -euo pipefail + +POSITIONAL=() +while [[ $# -gt 0 ]] +do +key="$1" + +case $key in + *) # unknown option + POSITIONAL+=("$1") # save it in an array for later + shift # past argument + ;; +esac +done +set -- "${POSITIONAL[@]}" # restore positional parameters + +FILENAME="${POSITIONAL[0]}" + +go tool cover -html="$FILENAME" -o "$FILENAME.html" +elinks "$FILENAME.html" +rm "$FILENAME.html" diff --git a/dot_config/elinks/elinks.conf b/dot_config/elinks/elinks.conf new file mode 100644 index 0000000..eb38a51 --- /dev/null +++ b/dot_config/elinks/elinks.conf @@ -0,0 +1,50 @@ +## ELinks 0.17.0 configuration file + +## This is ELinks configuration file. You can edit it manually, +## if you wish so; this file is edited by ELinks when you save +## options through UI, however only option values will be altered +## and missing options will be added at the end of file; if option +## is not written in this file, but in some file included from it, +## it is NOT counted as missing. Note that all your formatting, +## own comments and so on will be kept as-is. +## +## Obviously, if you don't like what ELinks is going to do with +## this file, you can change it by altering the config.saving_style +## option. Come on, aren't we friendly guys after all? + + + +############################## +# Automatically saved options +# + +## config +# Configuration handling options. + + ## config.saving_style_w [0|1] + # This is internal option used when displaying a warning about obsolete + # config.saving_style. You shouldn't touch it. + set config.saving_style_w = 1 + + +## terminal +# Terminal options. + + ## terminal.tmux-256color + # Options specific to this terminal type (according to $TERM value). + + ## terminal.tmux-256color.colors + set terminal.tmux-256color.colors = 3 + ## terminal.tmux-256color.type + set terminal.tmux-256color.type = 0 + + +## ui +# User interface options. + + ## ui.language + # Language of user interface. 'System' means that the language will be + # extracted from the environment dynamically. + set ui.language = "System" + +