dotfiles-remastered/.profile

37 lines
1.3 KiB
Bash

#!/bin/sh
export BROWSER=firefox
export EDITOR=nvim
export VISUAL=nvim
export XDG_CONFIG_HOME="$HOME/.config"
export XDG_DATA_HOME="$HOME/.local/share"
export XDG_CACHE_HOME="$HOME/.cache"
export XDG_STATE_HOME="$HOME/.local/state"
export XDG_DESKTOP_DIR="$HOME/desktop"
export XDG_DOCUMENTS_DIR="$HOME/doc"
export XDG_DOWNLOAD_DIR="$HOME/downloads"
export XDG_MUSIC_DIR="$HOME/music"
export XDG_PICTURES_DIR="$HOME/pictures"
# XDG_PUBLICSHARE_DIR="$HOME/public"
# XDG_TEMPLATES_DIR="$HOME/templates"
# XDG_VIDEOS_DIR="$HOME/videos"
# export XDG_DATA_DIRS="/etc:$XDG_CONFIG_DIRS"
export GOPATH="$XDG_DATA_HOME/go"
export VSCODE_EXTENSIONS="$XDG_DATA_HOME/vscode/extensions"
export RUSTUP_HOME="$XDG_DATA_HOME/rustup"
#export CARGO_INSTALL_ROOT="$XDG_DATA_HOME/cargo"
export CARGO_HOME="$XDG_DATA_HOME/cargo"
export NPM_CONFIG_CACHE="$XDG_CACHE_HOME/npm"
export NPM_PACKAGES="$XDG_DATA_HOME/npm_global"
export ANDROID_HOME="$XDG_DATA_HOME/android"
export AUDACITY_PATH="$XDG_DATA_HOME/audacity"
export CUDA_CACHE_PATH="$XDG_CACHE_HOME/nv"
export DOCKER_CONFIG="$XDG_CONFIG_HOME/docker"
export GTK2_RC_FILES="$XDG_CONFIG_HOME"/gtk-2.0/gtkrc
#export GNUPGHOME="$XDG_DATA_HOME"/gnupg
export GRADLE_USER_HOME="$XDG_DATA_HOME"/gradle
export NUGET_PACKAGES="$XDG_CACHE_HOME"/NuGetPackages
export _JAVA_OPTIONS=-Djava.util.prefs.userRoot="$XDG_CONFIG_HOME"/java