0
|
1 # Augie Fackler's zshrc file |
|
2 |
|
3 for file in $(ls $HOME/.zsh) ; do |
|
4 source $HOME/.zsh/$file |
|
5 done |
|
6 |
|
7 # Login greeting ------------------ |
|
8 |
|
9 if [ ! "$SHOWED_SCREEN_MESSAGE" = "true" ]; then |
|
10 if which screen > /dev/null; then |
|
11 detached_screens=`screen -list | grep Detached | sed -e 's/ (Detached)//'` |
|
12 if [ ! -z "$detached_screens" ]; then |
|
13 echo "+---------------------------------------+" |
|
14 echo "| Detached screens are available: |" |
|
15 echo "$detached_screens" |
|
16 echo "+---------------------------------------+" |
|
17 fi |
|
18 fi |
|
19 export SHOWED_SCREEN_MESSAGE="true" |
|
20 fi |
|
21 |
|
22 # If available, source private extensions stored in a different repo |
|
23 if [[ -a ~/.private/zshrc ]]; then |
|
24 source ~/.private/zshrc |
|
25 fi |
|
26 |
|
27 if [[ -a ~/.zshrc-machine ]]; then |
|
28 source ~/.zshrc-machine |
|
29 fi |