Updates to vim themes and zsh aliases

This commit is contained in:
2014-11-30 19:18:25 -05:00
parent 0852f25760
commit fcd74e51e3
8 changed files with 263 additions and 27 deletions

View File

@@ -64,6 +64,12 @@ function chrome () {
open -a /Applications/Google\ Chrome.app/ "$1"
}
# Open a file in chrome
function chrome-kiosk () {
open -a /Applications/Google\ Chrome.app/ --args --kiosk --no-first-run --no-default-browser-check --noerrdialogs --no-message-box --disable-desktop-notifications --allow-running-insecure-content --always-authorize-plugins --allow-outdated-plugins "$1"
}
# See top 10 bash commands
function hist() {
cat ~/.history|cut -d ';' -f 2- 2>/dev/null| awk '{a[$1]++ } END{for(i in a){print a[i] " " i}}'|sort -rn|head