This file contains hidden or 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
| #!/bin/bash | |
| # based on http://tyhoffman.com/blog/2013/09/sleepwatcher-power-event-driven-automation/ | |
| # acquire sudo at the beginning | |
| sudo -v | |
| # Keep-alive: update existing `sudo` time stamp until `.osx` has finished | |
| while true; do sudo -n true; sleep 60; kill -0 "$$" || exit; done 2>/dev/null & |
This file contains hidden or 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
| #!/usr/bin/env bash | |
| # Powerline | |
| # https://github.com/powerline/powerline | |
| # JS ๋ฒ์ | |
| # https://github.com/ceejbot/powerline-js | |
| # Python ๋ฒ์ | |
| # https://github.com/banga/powerline-shell | |
| # for c in {0..255}; do tput setaf $c; tput setaf $c | cat -v; echo =$c; done |
This file contains hidden or 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
| # Tig ๊ธฐ๋ณธ ์ค์ | |
| # 'man tigrc' ๋ฅผ ์ปค๋งจ๋๋ผ์ธ์์ ์ ๋ ฅํ๋ฉด ์ ์ฒด ๋งค๋ด์ผ์ ๋ณผ ์ ์๋ค. | |
| # ๋งค๋ด์ผ ํ๊ธ ๋ฒ์ญ http://ujuc.github.io/2016/02/10/tig-manual/ | |
| # ์ค์ | |
| # -------- | |
| # ์ฌ๊ธฐ์ ์๋ ๋๋ถ๋ถ์ ์ค์ ๋ค์ toggle-* ์ด๋ ์ต์ ๋ฉ๋ด(๊ธฐ๋ณธ๊ฐ์ 'o' ํค)๋ฅผ ํตํด ํ ๊ธํ ์ ์๋ค. | |
| # ๋ทฐ ์ค์ | |
| # |