Last active
April 11, 2021 20:27
-
-
Save masa2146/fcffacda735dcb2fadd63ef358bfca30 to your computer and use it in GitHub Desktop.
Ubuntu open terminator on folders
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
if ps -o cmd= -p $(ps -o ppid= -p $$) | grep -q gnome; then | |
nohup terminator &> /dev/null & | |
sleep 0.1s | |
exit | |
fi |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment