-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.shell_variables
57 lines (42 loc) · 1.64 KB
/
.shell_variables
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
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
#!/bin/bash
#### Variables for all shells
# ~/.shell_variables: source by default shell
# source do not run
export XZ_OPT="-9"
export ZEITGEIST_DATABASE_PATH="$HOME/.config/zeitgeist/$(hostname)/"
export XDG_CONFIG_HOME="$HOME/.config"
export XDG_CACHE_HOME="$HOME/.cache"
export VISUAL=vim
export EDITOR=vim
# export METEOBLUE_API="88295037d574"
export METEOBLUE_API="R6m9gVqJDQbMtcfu"
R_LIBS_USER="$(Rscript -e 'cat(path.expand(paste0("~/.R/", R.version$platform, "-library/", R.version$major, ".", R.version$minor)))')"
export R_LIBS_USER=$R_LIBS_USER
### Check names with `locale -a`
## overide locale numeric
export LC_NUMERIC="C"
## for a iso date format in some programs
# export LC_TIME="en_DK.UTF-8"
export LC_TIME="en_DK.utf8"
## overide locale numeric
# export LC_NUMERIC="C.UTF-8"
export LC_NUMERIC="C.utf8"
## ranger needs that
export LC_ALL="C.utf8"
# mkdir -p "$ZEITGEIST_DATABASE_PATH"
## for Could not initialize GLX on nix
# export QT_XCB_GL_INTEGRATION=none
## GoldenCheetah needs to find R
#export R_HOME="/opt/R/4.2.3/bin/R"
## PROGRAMS CONFIGURATION
export XDG_STATE_HOME="$HOME/.local/state"
export XDG_DATA_HOME="$HOME/.local/share"
export GTK2_RC_FILES="$XDG_CONFIG_HOME"/gtk-2.0/gtkrc
export ICEAUTHORITY="$XDG_CACHE_HOME"/ICEauthority
export LESSHISTFILE="$XDG_STATE_HOME"/less/history
export MPLAYER_HOME="$XDG_CONFIG_HOME"/mplayer
export PARALLEL_HOME="$XDG_CONFIG_HOME"/parallel
export PYLINTHOME="$XDG_CACHE_HOME"/pylint
# This in not corect
# RENV_PATHS_CACHE="$(Rscript -e 'cat(path.expand(paste0("~/.R/", R.version$platform, "-library/", R.version$major, ".", R.version$minor)))')"
# export RENV_PATHS_CACHE=$RENV_PATHS_CACHE