From f2ddb560dd6d2aa195f99f48a0d8e9b5c978bd94 Mon Sep 17 00:00:00 2001 From: Griffin Smith Date: Mon, 8 Jun 2020 10:20:18 -0400 Subject: drop a bunch of unused stuff from zshrc --- home/modules/zshrc | 66 ------------------------------------------------------ 1 file changed, 66 deletions(-) (limited to 'home') diff --git a/home/modules/zshrc b/home/modules/zshrc index 73ceec48e631..cca822c4ce3e 100644 --- a/home/modules/zshrc +++ b/home/modules/zshrc @@ -187,43 +187,6 @@ fi function vconflicts() { $EDITOR $(git status --porcelain | awk '/^UU/ { print $2 }') } - -function fetchall() { -for repo in ~/code/nomi/gems/* ~/code/nomi/services/svc-users ~/code/nomi/services/svc-entities ~/code/go/src/github.com/getnomi/svc-gateway; do - echo -e "\x1b[34;1m=======> \x1b[37;1m$repo\x1b[0m" - git -C $repo fetch -done -} -# }}} - -# Wifi {{{ -# }}} - -# adb {{{ -# }}} - -# Golang {{{ -# }}} - -# Tail logs {{{ -# }}} - -# Running stuff {{{ -# }}} - -# Directories {{{ - - - -# }}} - -# SSH shortcuts {{{ -# }}} - -# Editing config files {{{ -# }}} - -# XRandR {{{ # }}} # fzf {{{ @@ -318,25 +281,6 @@ unset GREP_OPTIONS export GREP_OPTIONS= # }}} -# Keyboard backlight {{{ - -KEYBOARD_BRIGHTNESS_FILE='/sys/devices/platform/applesmc.768/leds/smc::kbd_backlight/brightness' - -setkbd() { - echo $1 | sudo tee $KEYBOARD_BRIGHTNESS_FILE -} - -kbdup() { - curr=$(< $KEYBOARD_BRIGHTNESS_FILE) - echo $(( $curr + 15 )) | sudo tee $KEYBOARD_BRIGHTNESS_FILE -} - -kbdup() { - curr=$(< $KEYBOARD_BRIGHTNESS_FILE) - echo $(( $curr - 15 )) | sudo tee $KEYBOARD_BRIGHTNESS_FILE -} - -# }}} # Run docker containers {{{ # -d \ @@ -359,14 +303,4 @@ kbdup() { # glittershark/firefox # }}} -# Alembic {{{ -function aup() { - alembic upgrade ${1:-head} -} - -function adown() { - alembic downgrade ${1:--1} -} -# }}} - [ -f ./.localrc ] && source ./.localrc -- cgit 1.4.1