aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJustine Smithies <justine@smithies.me.uk>2024-05-23 18:55:56 +0000
committerJustine Smithies <justine@smithies.me.uk>2024-05-23 18:55:56 +0000
commitda4f8cd10d1fb52c156b7cb33274fa59d39a3796 (patch)
treea7cbe72009c79feed6efd061e14fb10a4134a6d4
parente296d62a94885110fd9df772e89bb1b042402af4 (diff)
Updates for switching to Chimera Linux
-rw-r--r--.bashrc13
1 files changed, 9 insertions, 4 deletions
diff --git a/.bashrc b/.bashrc
index a1597e5..77381a7 100644
--- a/.bashrc
+++ b/.bashrc
@@ -42,7 +42,8 @@ export PROMPT_COMMAND="history -a; history -c; history -r $PROMPT_COMMAND"
# If bpytop is installed then alias top to bpytop
[ -e /usr/bin/btop ] && alias top="/usr/bin/btop"
-alias ls='ls --color=auto -hv --group-directories-first'
+#alias ls='ls --color=auto -hv --group-directories-first'
+alias ls='ls --color=auto -hv'
alias config='/usr/bin/git --git-dir=$HOME/.cfg/ --work-tree=$HOME'
# Only use aliases according to the TERM we are in
@@ -62,6 +63,7 @@ if [[ $TERM = "foot" ]]; then
alias ssh='TERM=linux ssh'
fi
+export COLORTERM="truecolor"
export EDITOR="hx"
export VISUAL="hx"
export MANPATH=$HOME/.local/share/man/:$MANPATH
@@ -92,6 +94,9 @@ export PATH=$PATH:~/.cargo/bin/
# export HELIX_RUNTIME=~/Git/helix/runtime
# This is the command I ran after building: ln -s ~/Git/helix/runtime ~/.config/helix/runtime
+# If using musl then set this variable to ensure tree-sitter grammars can be loaded correctly
+export RUSTFLAGS="-C target-feature=-crt-static"
+
# Enable the use of ssh-agent
if ! pgrep -u "$USER" ssh-agent > /dev/null; then
ssh-agent -t 1h > "$XDG_RUNTIME_DIR/ssh-agent.env"
@@ -101,9 +106,9 @@ if [[ ! -f "$SSH_AUTH_SOCK" ]]; then
fi
# If on matching tty start the WM
-if [ "$(tty)" = "/dev/tty1" ]; then
- exec dbus-run-session river
-fi
+#if [ "$(tty)" = "/dev/tty1" ]; then
+# exec dbus-run-session river
+#fi
# If not in xterm don't start starship
case $TERM in