diff options
| author | Cryxtalix <fgx8p9t@protonmail.com> | 2025-02-11 16:35:32 +0800 |
|---|---|---|
| committer | Cryxtalix <fgx8p9t@protonmail.com> | 2025-02-11 16:35:32 +0800 |
| commit | d328cf09d100031736c4b78e645bc3724839f023 (patch) | |
| tree | 099453329127a9cb8edbd94fe988b00d52974ded | |
| parent | 5e30064e83d8b401269c057fcf027132c895476a (diff) | |
Fixed rust in bashrc
| -rw-r--r-- | .bashrc | 8 | ||||
| -rw-r--r-- | .ssh/config_global | 2 |
2 files changed, 7 insertions, 3 deletions
@@ -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 |
