Skip to content

Instantly share code, notes, and snippets.

@sneak
Last active November 18, 2019 15:15
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save sneak/c6845e95a9308a65ea3d29422f5a92ac to your computer and use it in GitHub Desktop.
Save sneak/c6845e95a9308a65ea3d29422f5a92ac to your computer and use it in GitHub Desktop.
bashrc include to disable (some) spywares
# https://consoledonottrack.com
export DO_NOT_TRACK=1
# the rest
export HOMEBREW_NO_ANALYTICS=1
export GATSBY_TELEMETRY_DISABLED=1
export STNOUPGRADE=1
export DOTNET_CLI_TELEMETRY_OPTOUT=1
export SAM_CLI_TELEMETRY=0
export AZURE_CORE_COLLECT_TELEMETRY=0
if command -v gcloud >/dev/null 2>&1 >/dev/null ; then
gcloud config set disable_usage_reporting true >/dev/null 2>&1
fi
@sneak
Copy link
Author

sneak commented Nov 16, 2019

@blainekasten
Copy link

Now this is appealing and could gain momentum! Additionally, you could have the script run a check on each bash startup that checks for updates to the script file, and suggest the user to re-run the curl

@sneak
Copy link
Author

sneak commented Nov 18, 2019

No, I don’t want any of that. Per-application variables are stupid balkanized wastes of time.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment