This file contains 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 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 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' 키)를 통해 토글할 수 있다. | |
# 뷰 설정 | |
# |