Skip to content

Commit d4ac5cc

Browse files
committed
Add script for pulling the latest version of the thesis code
1 parent 57ef7c5 commit d4ac5cc

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

zsh/custom/physics.zsh

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,14 @@
11
#!/usr/bin/env zsh
22

3+
pull-thesis() {
4+
OLD_PWD="$(pwd)"
5+
cd "${HOME}/Git/pttools" || return
6+
git pull
7+
cd "${HOME}/Git/msc-thesis2" || return
8+
git pull
9+
cd "${OLD_PWD}" || return
10+
}
11+
312
# Enable Geant4
413
GEANT_SCRIPT="/usr/local/bin/geant4.sh"
514
if [ -f "${GEANT_SCRIPT}" ]; then

0 commit comments

Comments
 (0)