drop a bunch of unused stuff from zshrc
This commit is contained in:
		
							parent
							
								
									0a7b41284d
								
							
						
					
					
						commit
						f2ddb560dd
					
				
					 1 changed files with 0 additions and 66 deletions
				
			
		| 
						 | 
					@ -187,43 +187,6 @@ fi
 | 
				
			||||||
function vconflicts() {
 | 
					function vconflicts() {
 | 
				
			||||||
$EDITOR $(git status --porcelain | awk '/^UU/ { print $2 }')
 | 
					$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 {{{
 | 
					# fzf {{{
 | 
				
			||||||
| 
						 | 
					@ -318,25 +281,6 @@ unset GREP_OPTIONS
 | 
				
			||||||
export 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 {{{
 | 
					# Run docker containers {{{
 | 
				
			||||||
    # -d \
 | 
					    # -d \
 | 
				
			||||||
| 
						 | 
					@ -359,14 +303,4 @@ kbdup() {
 | 
				
			||||||
    # glittershark/firefox
 | 
					    # glittershark/firefox
 | 
				
			||||||
# }}}
 | 
					# }}}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
# Alembic {{{
 | 
					 | 
				
			||||||
function aup() {
 | 
					 | 
				
			||||||
  alembic upgrade ${1:-head}
 | 
					 | 
				
			||||||
}
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
function adown() {
 | 
					 | 
				
			||||||
  alembic downgrade ${1:--1}
 | 
					 | 
				
			||||||
}
 | 
					 | 
				
			||||||
# }}}
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
[ -f ./.localrc ] && source ./.localrc
 | 
					[ -f ./.localrc ] && source ./.localrc
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue