/
exports
37 lines (27 loc) · 1.07 KB
/
exports
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
# Prefer US English and use UTF-8
export LC_ALL="en_US.UTF-8"
export LANG="en_US"
# Don’t clear the screen after quitting a manual page
export MANPAGER="less -X"
# Don't put duplicate lines or lines starting with space in the history.
# See bash(1) for more options
export HISTCONTROL='ignoreboth'
# For setting history length see HISTSIZE and HISTFILESIZE in bash(1)
export HISTFILESIZE=500000
export HISTSIZE=100000
# Filter out these commands from bash history
export HISTIGNORE='&:cd:ls:bin/ss;history *'
# Force NPM prefix to ~/.npm folder
export NPM_CONFIG_PREFIX=${HOME}/.npm
# Try to change default ~/snap folder location to something more elegant
export SNAP_USER_DATA=${HOME}/.snap
# Turn off .NET Core tools telemetry (read more here https://aka.ms/dotnet-cli-telemetry)
export DOTNET_CLI_TELEMETRY_OPTOUT=1
# Windows-only var exports
if grep -q Microsoft /proc/version; then
export DOCKER_HOST=tcp://localhost:2375
export DISPLAY=:0
fi
# Apply GTK themes to QT5 apps
# might require 'qt5-style-plugins' installation on Debian/Ubuntu
export QT_QPA_PLATFORMTHEME=gtk2