aboutsummaryrefslogtreecommitdiff
path: root/.profile
diff options
context:
space:
mode:
authorLuca Matei Pintilie <lucafulger@gmail.com>2022-10-08 16:50:21 +0000
committerLuca Matei Pintilie <lucafulger@gmail.com>2022-10-08 16:50:21 +0000
commitc3e28c7ffcf1dc68fef04f541b1302df05d8e30c (patch)
tree3d786ba8dbc3ab280c2ce088c1541f522cd46663 /.profile
parent2143dee6dc9d60d144537d64500abc0f62782ad9 (diff)
downloaddotfiles-c3e28c7ffcf1dc68fef04f541b1302df05d8e30c.tar
dotfiles-c3e28c7ffcf1dc68fef04f541b1302df05d8e30c.tar.gz
dotfiles-c3e28c7ffcf1dc68fef04f541b1302df05d8e30c.tar.bz2
dotfiles-c3e28c7ffcf1dc68fef04f541b1302df05d8e30c.tar.lz
dotfiles-c3e28c7ffcf1dc68fef04f541b1302df05d8e30c.tar.xz
dotfiles-c3e28c7ffcf1dc68fef04f541b1302df05d8e30c.tar.zst
dotfiles-c3e28c7ffcf1dc68fef04f541b1302df05d8e30c.zip
Some shell changes and improvements
Diffstat (limited to '.profile')
-rw-r--r--.profile14
1 files changed, 10 insertions, 4 deletions
diff --git a/.profile b/.profile
index b4664cf..df95adf 100644
--- a/.profile
+++ b/.profile
@@ -8,11 +8,18 @@ if [ -z "${XDG_RUNTIME_DIR}" ]; then
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;
+
BUN_INSTALL="/home/luca/.bun";
+GOPROXY="direct" export GOPROXY;
+EDITOR="$(which nvim || which vim || which nano || which vi)"; export EDITOR;
-EDITOR="nvim"; export EDITOR;
-MANPAGER="sh -c 'col -bx | bat -l man -p'"; export MANPAGER;
-GPG_TTY="$(tty)" export GPG_TTY;
+if [ -n "$(which bat || which batcat)" ]
+then
+ MANPAGER="sh -c 'col -bx | bat -l man -p'"; export MANPAGER;
+fi
# Sway specific
SDL_VIDEODRIVER=wayland; export SDL_VIDEODRIVER;
@@ -24,4 +31,3 @@ GPG_TTY="$(tty)" export GPG_TTY;
PATH="$HOME/go/bin:$DENO_INSTALL/bin:$BUN_INSTALL/bin:$HOME/.cargo/bin:$HOME/.local/bin:$PATH";
-