sh -c "$(curl -fsSL https://raw.githubusercontent.com/robbyrussell/oh-my-zsh/master/tools/install.sh)"
- Download zsh-autosuggestions by
| #deb cdrom:[Ubuntu 14.04.3 LTS _Trusty Tahr_ - Beta amd64 (20150805)]/ trusty main restricted | |
| # See http://help.ubuntu.com/community/UpgradeNotes for how to upgrade to | |
| # newer versions of the distribution. | |
| deb http://us.archive.ubuntu.com/ubuntu/ trusty main restricted | |
| deb-src http://us.archive.ubuntu.com/ubuntu/ trusty main restricted | |
| ## Major bug fix updates produced after the final release of the | |
| ## distribution. | |
| deb http://us.archive.ubuntu.com/ubuntu/ trusty-updates main restricted |
| <script type="text/javascript"> | |
| function idleTimer() { | |
| var t; | |
| //window.onload = resetTimer; | |
| window.onmousemove = resetTimer; // catches mouse movements | |
| window.onmousedown = resetTimer; // catches mouse movements | |
| window.onclick = resetTimer; // catches mouse clicks | |
| window.onscroll = resetTimer; // catches scrolling | |
| window.onkeypress = resetTimer; //catches keyboard actions |