Skip to content

Commit 28b862e

Browse files
committed
Modify bash/aliases.sh, bash/experimental.sh, dotfiles/.bashrc
1 parent bd6cb86 commit 28b862e

File tree

3 files changed

+3
-7
lines changed

3 files changed

+3
-7
lines changed

bash/aliases.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@ alias read_aliases="source ~/code/dotfiles/bash/aliases.sh"
33
alias bbb="find . -name \*.py | xargs $CODE_ROOT/env/black/bin/black -l 79 -S"
44
alias bui='pip uninstall -y torch && python setup.py develop'
55

6+
alias conda=/home/rec/miniconda3/bin/conda
67
alias ctest='pushd ~/code/test && git add . && gi ; popd'
78

89
# alias ca='conda activate pytorch-dev$PYTORCH_BUILD_SUFFIX'

bash/experimental.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@ _git_api() {
8484
-H "Accept: application/vnd.github+json" \
8585
-H "Authorization: Bearer $GIT_TOKEN" \
8686
-H "X-GitHub-Api-Version: 2022-11-28" \
87-
$GIT_API_ROOT/$1\?per_page=100
87+
$GIT_API_ROOT/$1?per_page=2
8888
}
8989

9090
load-log() {

dotfiles/.bashrc

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -7,12 +7,7 @@ fi
77
IFS=. read -ra hosts <<< $(hostname)
88
host=$hosts
99

10-
if [[ $host == "qgpu3" ]]; then
11-
export CODE_ROOT=~/code
12-
else
13-
export CODE_ROOT=/code
14-
host=bolt
15-
fi
10+
export CODE_ROOT=~/code
1611

1712
bash_root=$CODE_ROOT/dotfiles/bash
1813
bash_file=$bash_root/init-${host}.sh

0 commit comments

Comments
 (0)