mirror of
https://github.com/commaai/agnos-builder.git
synced 2026-09-30 11:23:52 +08:00
"cd /data/openpilot" only for main tmux session (#99)
This commit is contained in:
@@ -4,5 +4,6 @@ export MYVIMRC="~/.vimrc"
|
||||
|
||||
source $HOME/.profile
|
||||
|
||||
# TODO: there's probably a better way to do this for only the main tmux session
|
||||
[ -d "/data/openpilot" ] && cd /data/openpilot
|
||||
if [ -d "/data/openpilot" ] && [ "$(tmux display-message -p '#{session_name}')" == "comma" ] ; then
|
||||
cd /data/openpilot
|
||||
fi
|
||||
|
||||
Reference in New Issue
Block a user