Last active
April 30, 2021 00:06
-
-
Save mrakitin/c928c5a6d8806e498eabb439d3916ddb to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# This was tested in the VirtualBox VM from | |
# https://slaclab.github.io/pydm-tutorial/intro.html. `htop` and `terminator` | |
# were installed via 'sudo apt-get install ...' | |
# Documentation: https://gnome-terminator.readthedocs.io/en/latest/advancedusage.html. | |
terminator -e "bash -i -l <<< '. /etc/profile.d/conda.sh && conda activate tutorial && exec </dev/tty && ipython'" & | |
sleep 2 | |
terminator --new-tab -e "bash -i -l -c 'htop'" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment