blob: e6bce236ea808b9db481cf086022c8005861710b (
plain) (
blame)
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
|
#!/usr/bin/env sh
if [ -z "${XDG_RUNTIME_DIR}" ]; then
XDG_RUNTIME_DIR="/tmp/${UID}-runtime-dir"; export XDG_RUNTIME_DIR;
if [ ! -d "${XDG_RUNTIME_DIR}" ]; then
mkdir "${XDG_RUNTIME_DIR}";
chmod 0700 "${XDG_RUNTIME_DIR}";
fi
fi
DENO_INSTALL="$HOME/.deno"; export DENO_INSTALL;
# https://github.com/denoland/deno/pull/15974
DENO_NO_UPDATE_CHECK="yes" export DENO_NO_UPDATE_CHECK;
DENO_NO_PROMPT="yes" export DENO_NO_PROMPT;
# https://learn.microsoft.com/en-us/dotnet/core/tools/telemetry
DOTNET_CLI_TELEMETRY_OPTOUT="true" export DOTNET_CLI_TELEMETRY_OPTOUT;
# https://nextjs.org/telemetry
NEXT_TELEMETRY_DEBUG=1 export NEXT_TELEMETRY_DEBUG;
BUN_INSTALL="/home/luca/.bun";
GOPROXY="direct" export GOPROXY;
EDITOR="$(which nvim || which vim || which nano || which vi)"; export EDITOR;
BAT="$(which bat || which batcat)"
if [ -n $BAT ]
then
MANPAGER="sh -c 'col -bx | $BAT -l man -p'"; export MANPAGER;
fi
# Sway specific
SDL_VIDEODRIVER=wayland; export SDL_VIDEODRIVER;
_JAVA_AWT_WM_NONREPARENTING=1; export _JAVA_AWT_WM_NONREPARENTING;
QT_QPA_PLATFORM=wayland; export QT_QPA_PLATFORM;
XDG_CURRENT_DESKTOP=sway; export XDG_CURRENT_DESKTOP;
XDG_SESSION_DESKTOP=sway; export XDG_SESSION_DESKTOP;
PATH="$HOME/go/bin:$DENO_INSTALL/bin:$BUN_INSTALL/bin:$HOME/.cargo/bin:$HOME/.local/bin:$PATH";
|