.shrc 526 B

12345678910111213141516171819202122232425262728293031323334
  1. stty ixany
  2. set -m
  3. . ~/.config/sh/variables
  4. . ~/.config/sh/functions
  5. . ~/.config/sh/aliases
  6. if [ -f '/tmp/ssh-agent.sh' ]
  7. then
  8. . /tmp/ssh-agent.sh >/dev/null
  9. fi
  10. if [ "$(whoami)" = "adam" ]
  11. then
  12. umask 077
  13. entries=$(ls ~/Documents/Creatio/Diary/Current -1 | wc -l)
  14. if [ "$entries" -ge 7 ]
  15. then
  16. echo "There are $entries entries"
  17. fi
  18. fi
  19. diff /usr/share/X11/xkb/symbols/pl /usr/share/X11/xkb/symbols/pl.new >/dev/null
  20. if [ $? -eq 1 ]
  21. then
  22. echo 'kbd symbols differ'
  23. fi
  24. PS1="\$(makePS1)"
  25. PS2="\$(makePS2)"
  26. # todo PS2