Skip to content

Commit

Permalink
Remove RUSTUP_DIST_SERVER, RUSTUP_UPDATE_ROOT
Browse files Browse the repository at this point in the history
  • Loading branch information
wizawu committed Jul 3, 2024
1 parent ece7a69 commit b738177
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 6 deletions.
8 changes: 4 additions & 4 deletions bin/wxwork
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,11 @@
set -ex

if [ "$1" = pause ]; then
VBoxManage controlvm wxwork savestate
sudo VBoxManage controlvm wxwork savestate
elif [ "$1" = reset ]; then
VBoxManage controlvm wxwork reset
sudo VBoxManage controlvm wxwork reset
elif [ "$1" = off ]; then
VBoxManage controlvm wxwork poweroff
sudo VBoxManage controlvm wxwork poweroff
else
QT_QPA_PLATFORMTHEME=qt5ct VBoxManage startvm wxwork --type gui
sudo QT_QPA_PLATFORMTHEME=qt5ct VBoxManage startvm wxwork --type gui
fi
2 changes: 0 additions & 2 deletions dotfiles/bashrc
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,6 @@ export LANG=en_US.UTF-8
export LC_ALL=en_US.UTF-8
export NODE_PATH=/usr/local/lib/node_modules
export PATH=$HOME/.sysconf/bin:$GOPATH/bin:$GRADLE_HOME/bin:$JAVA_HOME/bin:/usr/sbin:$PATH
export RUSTUP_DIST_SERVER=https://mirrors4.tuna.tsinghua.edu.cn/rustup
export RUSTUP_UPDATE_ROOT=https://mirrors4.tuna.tsinghua.edu.cn/rustup/rustup
export TRASH_DIR=$HOME/.local/share/Trash

# terminal
Expand Down

0 comments on commit b738177

Please sign in to comment.