gocov and elinks config
This commit is contained in:
parent
936b4489c1
commit
e7409b1f7d
2 changed files with 72 additions and 0 deletions
22
bin/executable_gocov.sh
Normal file
22
bin/executable_gocov.sh
Normal file
|
|
@ -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"
|
||||
50
dot_config/elinks/elinks.conf
Normal file
50
dot_config/elinks/elinks.conf
Normal file
|
|
@ -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 <num>
|
||||
set terminal.tmux-256color.colors = 3
|
||||
## terminal.tmux-256color.type <num>
|
||||
set terminal.tmux-256color.type = 0
|
||||
|
||||
|
||||
## ui
|
||||
# User interface options.
|
||||
|
||||
## ui.language <language>
|
||||
# Language of user interface. 'System' means that the language will be
|
||||
# extracted from the environment dynamically.
|
||||
set ui.language = "System"
|
||||
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue