From d328cf09d100031736c4b78e645bc3724839f023 Mon Sep 17 00:00:00 2001 From: Cryxtalix Date: Tue, 11 Feb 2025 16:35:32 +0800 Subject: Fixed rust in bashrc --- .bashrc | 8 +++++--- .ssh/config_global | 2 ++ 2 files changed, 7 insertions(+), 3 deletions(-) diff --git a/.bashrc b/.bashrc index 9c41090..262a7c7 100644 --- a/.bashrc +++ b/.bashrc @@ -11,6 +11,11 @@ if ! [[ "$PATH" =~ "$HOME/.local/bin:$HOME/bin:" ]]; then fi export PATH +# Rust +if [ -d "$HOME/.cargo" ]; then + . "$HOME/.cargo/env" +fi + # Uncomment the following line if you don't like systemctl's auto-paging feature: # export SYSTEMD_PAGER= @@ -40,6 +45,3 @@ alias c="clear"; alias x="exit"; alias v="nvim"; alias nv-watch="watch -n1 nvidia-smi"; - -# Rust -. "$HOME/.cargo/env"; diff --git a/.ssh/config_global b/.ssh/config_global index f482fe1..7f50a4a 100644 --- a/.ssh/config_global +++ b/.ssh/config_global @@ -1 +1,3 @@ +# If SSH doesn't work over a particular connection. +# Prepend `Include config_global` to ~/.ssh/config to apply fix. IPQoS=throughput -- cgit