aboutsummaryrefslogtreecommitdiff
path: root/.profile
diff options
context:
space:
mode:
authorLuca Matei Pintilie <lucafulger@gmail.com>2022-10-20 19:26:34 +0000
committerLuca Matei Pintilie <lucafulger@gmail.com>2022-10-20 19:26:34 +0000
commit690267fc3abb284278ae3ebc6efd22d4b73fa3da (patch)
treed1b1c06f4915a11c36c2a006fbdb09fdff3cc81c /.profile
parent6086b91962f782e39fc4edb01c9ac7415bba335d (diff)
downloaddotfiles-690267fc3abb284278ae3ebc6efd22d4b73fa3da.tar
dotfiles-690267fc3abb284278ae3ebc6efd22d4b73fa3da.tar.gz
dotfiles-690267fc3abb284278ae3ebc6efd22d4b73fa3da.tar.bz2
dotfiles-690267fc3abb284278ae3ebc6efd22d4b73fa3da.tar.lz
dotfiles-690267fc3abb284278ae3ebc6efd22d4b73fa3da.tar.xz
dotfiles-690267fc3abb284278ae3ebc6efd22d4b73fa3da.tar.zst
dotfiles-690267fc3abb284278ae3ebc6efd22d4b73fa3da.zip
Fix some env variables and aliases
Diffstat (limited to '.profile')
-rw-r--r--.profile10
1 files changed, 7 insertions, 3 deletions
diff --git a/.profile b/.profile
index df95adf..e6bce23 100644
--- a/.profile
+++ b/.profile
@@ -11,14 +11,19 @@ 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;
-if [ -n "$(which bat || which batcat)" ]
+BAT="$(which bat || which batcat)"
+if [ -n $BAT ]
then
- MANPAGER="sh -c 'col -bx | bat -l man -p'"; export MANPAGER;
+ MANPAGER="sh -c 'col -bx | $BAT -l man -p'"; export MANPAGER;
fi
# Sway specific
@@ -27,7 +32,6 @@ _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;
-GPG_TTY="$(tty)" export GPG_TTY;
PATH="$HOME/go/bin:$DENO_INSTALL/bin:$BUN_INSTALL/bin:$HOME/.cargo/bin:$HOME/.local/bin:$PATH";