When in iTerm2, print a tips file.
David Blume

David Blume commited on 2018-09-06 16:38:07
Showing 1 changed files, with 4 additions and 0 deletions.

... ...
@@ -3,3 +3,7 @@
3 3
 if [ -f "${HOME}/.bashrc" ]; then
4 4
     source "${HOME}/.bashrc"
5 5
 fi
6
+if [[ $(uname -s) == Darwin* && -z $SSH_CLIENT && 
7
+	-n $ITERM_PROFILE && -f "${HOME}/tips.txt" ]]; then
8
+    cat ~/tips.txt
9
+fi
6 10