Skip to content

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also .

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also .
...
  • 2 commits
  • 7 files changed
  • 0 commit comments
  • 1 contributor
Showing with 24 additions and 8 deletions.
  1. +2 −0 screenlayout/all-off.sh
  2. +1 −0 screenlayout/default.sh
  3. +3 −0 screenlayout/external.sh
  4. +2 −0 screenlayout/laptop.sh
  5. +3 −0 screenlayout/lr.sh
  6. +3 −0 screenlayout/tb.sh
  7. +10 −8 zshrc
View
2 screenlayout/all-off.sh
@@ -0,0 +1,2 @@
+#!/bin/sh
+xrandr --output HDMI1 --off --output LVDS1 --off --output DP1 --off --output VGA1 --off
View
1 screenlayout/default.sh
View
3 screenlayout/external.sh
@@ -0,0 +1,3 @@
+#!/bin/sh
+xrandr --output HDMI1 --off --output LVDS1 --off --output DP1 --off --output VGA1 --off
+xrandr --output VGA1 --mode 1920x1080 --pos 0x0 --rotate normal
View
2 screenlayout/laptop.sh
@@ -0,0 +1,2 @@
+#!/bin/sh
+xrandr --output HDMI1 --off --output LVDS1 --mode 1366x768 --pos 256x1080 --rotate normal --output DP1 --off --output VGA1 --off
View
3 screenlayout/lr.sh
@@ -0,0 +1,3 @@
+#!/bin/sh
+xrandr --output HDMI1 --off --output DP1 --off --output VGA1 --off --output LVDS1 --off
+xrandr --output LVDS1 --mode 1366x768 --pos 1920x312 --rotate normal --output VGA1 --mode 1920x1080 --pos 0x0
View
3 screenlayout/tb.sh
@@ -0,0 +1,3 @@
+#!/bin/sh
+xrandr --output HDMI1 --off --output DP1 --off --output VGA1 --off --output LVDS1 --off
+xrandr --output LVDS1 --mode 1366x768 --pos 277x1080 --rotate normal --output VGA1 --mode 1920x1080 --pos 0x0 --rotate normal
View
18 zshrc
@@ -29,8 +29,7 @@ plugins=(git django history-substring-search )
source $ZSH/oh-my-zsh.sh
# Customize to your needs...
-export PATH=$HOME/bin:/usr/local/bin:/usr/bin:/bin:/usr/local/games:/usr/games:/opt/src/go/bin:$HOME/.cabal/bin:$HOME/.local/bin
-
+export PATH=$HOME/bin:/usr/local/bin:/usr/bin:/bin:/usr/local/games:/usr/games:$HOME/.cabal/bin:$HOME/.local/bin:$HOME/workspace/src/google_appengine:$HOME/workspace/src/golang/bin
# vim bindings
bindkey -v
@@ -64,6 +63,8 @@ alias halt='sudo shutdown -h now'
alias reboot='sudo reboot'
#Save session to disk and bind caps as escape on resume
alias s2disk='sudo pm-hibernate'
+alias s2both='sudo s2both'
+alias s2ram='sudo pm-suspend'
alias mute='amixer set Master off'
alias unmute='amixer set Master on'
@@ -124,13 +125,10 @@ alias rand='tr -c "[:digit:]" " " < /dev/urandom | dd cbs=$COLUMNS conv=unblock
### Exports
export EDITOR=e
export JAVA_HOME=/usr
-#export PKG_CONFIG_PATH=/home/yeban/opt/lib/pkgconfig/:${PKG_CONFIG_PATH}
-#export GOROOT=:/opt/src/go
-
-export LESS='-r'
-
export PYTHONSTARTUP=$HOME/.pythonrc
export _JAVA_AWT_WM_NONREPARENTING=1
+
+export LESS='-r'
#export http_proxy=http://144.16.192.218:8080/
export http_proxy=http://10.3.100.212:8080/
export https_proxy=$http_proxy
@@ -180,10 +178,14 @@ es(){
vim --servername $VI_SERVER --remote-silent $*
}
-es_set(){
+compdef _vim es
+
+eset(){
export VI_SERVER=$1
}
+eset default
+
s() { find . -iname "*$@*" }
#Search for text in files

No commit comments for this range

Something went wrong with that request. Please try again.