aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.bashrc4
-rw-r--r--.profile10
2 files changed, 10 insertions, 4 deletions
diff --git a/.bashrc b/.bashrc
index 90e636a..a3adf36 100644
--- a/.bashrc
+++ b/.bashrc
@@ -15,6 +15,7 @@ if [[ $- != *i* ]] ; then
return
fi
+. $HOME/.profile
# Put your fun stuff here.
alias cls="clear"
@@ -25,9 +26,10 @@ then
alias cat="$BAT -p"
fi
-alias ls="$(which lsd || 'ls')"
+alias ls="$(which lsd || "ls -h -F --color=auto --group-directories-first")"
alias sudo="$(which doas || which sudo || 'su -c')"
alias codium="flatpak run com.vscodium.codium --no-sandbox --enable-features=UseOzonePlatform --ozone-platform=wayland"
+alias tmux="tmux -2"
for f in $HOME/.local/share/bash-completion/*; do
. "$f"
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";