X-Git-Url: https://ruderich.org/simon/gitweb/?a=blobdiff_plain;f=shell%2Fshell%2Fenv;h=74715a0eb3196f698556baa87b1211e5a79101af;hb=246cb5f430f8846edefc28783cfa4197bd9034c2;hp=1d36c1b2480b0d6d4ee825210773b859c140e4de;hpb=3836e3323c3b962087a2790b7ad4d026dd546a76;p=config%2Fdotfiles.git diff --git a/shell/shell/env b/shell/shell/env index 1d36c1b..74715a0 100644 --- a/shell/shell/env +++ b/shell/shell/env @@ -139,9 +139,34 @@ fi MTR_OPTIONS='--show-ips' export MTR_OPTIONS +# Additional command line options for `valgrind`. +VALGRIND_OPTS= +VALGRIND_OPTS="$VALGRIND_OPTS --quiet" +VALGRIND_OPTS="$VALGRIND_OPTS --error-exitcode=1" +VALGRIND_OPTS="$VALGRIND_OPTS --memcheck:leak-check=full" +VALGRIND_OPTS="$VALGRIND_OPTS --memcheck:show-reachable=yes" +VALGRIND_OPTS="$VALGRIND_OPTS --memcheck:track-fds=yes" +export VALGRIND_OPTS + # Use short SSH timeout for Git commands so remote fetches/pushes fail # quickly. Thanks to ceddral for the idea. GIT_SSH_COMMAND='ssh -o ConnectTimeout=3' export GIT_SSH_COMMAND +# Go settings +GOPATH="$HOME/development/go:/usr/share/gocode" +export GOPATH +# Prevent privacy issues by disabling the use of https://proxy.golang.org +# which is the default since Go 1.13. +GOPROXY=direct +export GOPROXY +# Same for https://sum.golang.org/ +GOSUMDB=off +export GOSUMDB + +# Tell `ip -color` to use colors suitable for a dark terminal. Not sure if +# this variable is also used by other programs. +COLORFGBG=';0' +export COLORFGBG + # vim: ft=sh