diff options
-rw-r--r-- | .bashrc | 13 |
1 files changed, 9 insertions, 4 deletions
@@ -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 |