environment is managed by x service now

This commit is contained in:
Felix Van der Jeugt 2021-05-18 23:49:30 +02:00
parent b8bd8d3266
commit 4ee60907a9
No known key found for this signature in database
GPG Key ID: 58B209295023754D
2 changed files with 5 additions and 42 deletions

38
profile
View File

@ -1,38 +0,0 @@
#!/bin/sh
# XDG dirs
export XDG_DATA_HOME="$HOME/.local/share"
export XDG_CONFIG_HOME="$HOME/.config"
export XDG_CACHE_HOME="$HOME/.cache"
export XDG_RUNTIME_DIR="/tmp/runtime-$(whoami)"
mkdir -p "$XDG_RUNTIME_DIR"
chmod 0700 "$XDG_RUNTIME_DIR"
export XDG_DOWNLOAD_DIR="/tmp"
# Local scripts
export CABAL_HOME="/data/homes/cabal"
export STACK_ROOT="/data/homes/stack"
export CARGO_HOME="/data/homes/cargo"
export RUSTUP_HOME="/data/homes/rustup"
export JAVA_HOME="/usr/lib/jvm/openjdk11/"
export TEX_BIN="/opt/texlive/2019/bin/x86_64-linux/"
export PATH="$HOME/.local/bin:$CABAL_HOME/bin:$CARGO_HOME/bin:$JAVA_HOME/bin:$TEX_BIN:$PATH"
# Environmental settings
export ESCDELAY=50 # for dvtm e.a.
export EDITOR="vis"
export LEDGER_FILE="/data/documents/ledger/all.journal"
export LESSHISTFILE=-
export FZF_DEFAULT_COMMAND='(git ls-files -co --exclude-standard || rg --files) 2> /dev/null'
export SKIM_DEFAULT_COMMAND='(git ls-files -co --exclude-standard || rg --files) 2> /dev/null'
export LC_ALL=en_US.utf8
export BOGOFILTER_DIR="$XDG_DATA_HOME/bogofilter"
export TERMINAL=st
# Select Dock sound card if it's there
#(it's broken)
if [ -e /proc/asound/Dock ]; then
export ALSA_CARD=Dock
fi
#stty -ixon # disable <C-s>

View File

@ -11,12 +11,13 @@ chmod 0700 "$XDG_RUNTIME_DIR"
export XDG_DOWNLOAD_DIR="/tmp" export XDG_DOWNLOAD_DIR="/tmp"
# Local scripts # Local scripts
export CABAL_HOME="$HOME/.cabal" export CABAL_HOME="/data/homes/cabal"
export CARGO_HOME="$HOME/.cargo" export STACK_ROOT="/data/homes/stack"
export RBENV_HOME="$HOME/.rbenv" export CARGO_HOME="/data/homes/cargo"
export RUSTUP_HOME="/data/homes/rustup"
export JAVA_HOME="/usr/lib/jvm/openjdk11/" export JAVA_HOME="/usr/lib/jvm/openjdk11/"
export TEX_BIN="/opt/texlive/2019/bin/x86_64-linux/" export TEX_BIN="/opt/texlive/2019/bin/x86_64-linux/"
export PATH="$HOME/.local/bin:$CABAL_HOME/bin:$RBENV_HOME/shims:$CARGO_HOME/bin:$JAVA_HOME/bin:$TEX_BIN:$PATH" export PATH="$HOME/.local/bin:$CABAL_HOME/bin:$CARGO_HOME/bin:$JAVA_HOME/bin:$TEX_BIN:$PATH"
# Environmental settings # Environmental settings
export ESCDELAY=50 # for dvtm e.a. export ESCDELAY=50 # for dvtm e.a.