From da4f8cd10d1fb52c156b7cb33274fa59d39a3796 Mon Sep 17 00:00:00 2001 From: Justine Smithies Date: Thu, 23 May 2024 18:55:56 +0000 Subject: Updates for switching to Chimera Linux --- .bashrc | 13 +++++++++---- 1 file changed, 9 insertions(+), 4 deletions(-) (limited to '.bashrc') 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 -- cgit v1.2.3