added GH_HOME variable

This commit is contained in:
hellerve
2016-06-22 15:23:29 +02:00
parent 9eeaf1acbb
commit ab2919a740
3 changed files with 39 additions and 18 deletions

View File

@@ -7,17 +7,25 @@
-- Be careful with spaces and indentation because they are -- Be careful with spaces and indentation because they are
-- used to indicate layout for nested sections. -- used to indicate layout for nested sections.
-- Cabal library version: 1.22.0.0 -- Cabal library version: 1.24.0.0
-- cabal-install version: 1.22.0.0 -- cabal-install version: 1.24.0.0
repository hackage.haskell.org
url: http://hackage.haskell.org/
-- secure: False
-- root-keys:
-- key-threshold:
-- default-user-config:
-- require-sandbox: False -- require-sandbox: False
-- ignore-sandbox: False -- ignore-sandbox: False
remote-repo: hackage.haskell.org:http://hackage.haskell.org/packages/archive -- ignore-expiry: False
remote-repo-cache: /Users/veitheller/.cabal/packages -- http-transport:
remote-repo-cache: /Users/sidharta/.cabal/packages
-- local-repo: -- local-repo:
-- logs-dir: -- logs-dir:
world-file: /Users/veitheller/.cabal/world world-file: /Users/sidharta/.cabal/world
-- verbose: 1 -- verbose: 1
-- compiler: ghc -- compiler: ghc
-- with-compiler: -- with-compiler:
@@ -29,6 +37,9 @@ world-file: /Users/veitheller/.cabal/world
-- shared: -- shared:
-- executable-dynamic: False -- executable-dynamic: False
-- profiling: -- profiling:
-- executable-profiling:
-- profiling-detail:
-- library-profiling-detail:
-- optimization: True -- optimization: True
-- debug-info: False -- debug-info: False
-- library-for-ghci: -- library-for-ghci:
@@ -41,11 +52,12 @@ world-file: /Users/veitheller/.cabal/world
-- flags: -- flags:
-- extra-include-dirs: -- extra-include-dirs:
-- extra-lib-dirs: -- extra-lib-dirs:
extra-prog-path: /Users/veitheller/.cabal/bin -- extra-framework-dirs:
-- instantiate-with: extra-prog-path: /Users/sidharta/.cabal/bin
-- tests: False -- tests: False
-- library-coverage:
-- coverage: False -- coverage: False
-- library-coverage:
-- allow-newer: False
-- exact-configuration: False -- exact-configuration: False
-- benchmarks: False -- benchmarks: False
-- relocatable: False -- relocatable: False
@@ -53,8 +65,7 @@ extra-prog-path: /Users/veitheller/.cabal/bin
-- constraint: -- constraint:
-- preference: -- preference:
-- solver: choose -- solver: choose
-- allow-newer: False -- documentation: False
documentation: True
-- doc-index-file: $datadir/doc/$arch-$os-$compiler/index.html -- doc-index-file: $datadir/doc/$arch-$os-$compiler/index.html
-- max-backjumps: 2000 -- max-backjumps: 2000
-- reorder-goals: False -- reorder-goals: False
@@ -66,21 +77,25 @@ documentation: True
-- upgrade-dependencies: False -- upgrade-dependencies: False
-- root-cmd: -- root-cmd:
-- symlink-bindir: -- symlink-bindir:
build-summary: /Users/veitheller/.cabal/logs/build.log build-summary: /Users/sidharta/.cabal/logs/build.log
-- build-log: -- build-log:
remote-build-reporting: anonymous remote-build-reporting: anonymous
-- report-planning-failure: False -- report-planning-failure: False
-- one-shot: False -- one-shot: False
-- run-tests: -- run-tests:
jobs: $ncpus jobs: $ncpus
-- offline: False
-- username: -- username:
-- password: -- password:
-- password-command:
-- builddir:
haddock haddock
-- keep-temp-files: False -- keep-temp-files: False
-- hoogle: False -- hoogle: False
-- html: False -- html: False
-- html-location: -- html-location:
-- for-hackage: False
-- executables: False -- executables: False
-- tests: False -- tests: False
-- benchmarks: False -- benchmarks: False
@@ -92,10 +107,10 @@ haddock
-- contents-location: -- contents-location:
install-dirs user install-dirs user
-- prefix: /Users/veitheller/.cabal -- prefix: /Users/sidharta/.cabal
-- bindir: $prefix/bin -- bindir: $prefix/bin
-- libdir: $prefix/lib -- libdir: $prefix/lib
-- libsubdir: $abi/$pkgkey -- libsubdir: $abi/$libname
-- libexecdir: $prefix/libexec -- libexecdir: $prefix/libexec
-- datadir: $prefix/share -- datadir: $prefix/share
-- datasubdir: $abi/$pkgid -- datasubdir: $abi/$pkgid
@@ -108,7 +123,7 @@ install-dirs global
-- prefix: /usr/local -- prefix: /usr/local
-- bindir: $prefix/bin -- bindir: $prefix/bin
-- libdir: $prefix/lib -- libdir: $prefix/lib
-- libsubdir: $abi/$pkgkey -- libsubdir: $abi/$libname
-- libexecdir: $prefix/libexec -- libexecdir: $prefix/libexec
-- datadir: $prefix/share -- datadir: $prefix/share
-- datasubdir: $abi/$pkgid -- datasubdir: $abi/$pkgid

View File

@@ -28,3 +28,5 @@ doxyfile
local.sh local.sh
.idea .idea
node_modules/
.mysql_history

12
zshrc
View File

@@ -32,6 +32,7 @@ export TERM=rxvt
export LANG=en_US.UTF-8 export LANG=en_US.UTF-8
export LC_ALL=$LANG export LC_ALL=$LANG
export JAVA_HOME=`/usr/libexec/java_home -v 1.8` export JAVA_HOME=`/usr/libexec/java_home -v 1.8`
export GH_HOME=~/Documents/Code/Github
alias dob="git branch --merged | grep -vE '(\*)|(master)|(dev)' | xargs -n 1 git branch -d" alias dob="git branch --merged | grep -vE '(\*)|(master)|(dev)' | xargs -n 1 git branch -d"
alias vi="stty stop '' -ixoff ; vim" alias vi="stty stop '' -ixoff ; vim"
alias gcc="gcc-5" alias gcc="gcc-5"
@@ -55,10 +56,9 @@ alias pip2="/usr/local/bin/pip"
alias pip="pip3" alias pip="pip3"
alias pypy="pypy3" alias pypy="pypy3"
alias setjdk="launchctl setenv STUDIO_JDK /Library/Java/JavaVirtualMachines/jdk1.8.0_05.jdk" alias setjdk="launchctl setenv STUDIO_JDK /Library/Java/JavaVirtualMachines/jdk1.8.0_05.jdk"
alias cdz="cd ~/Documents/Code/Github/zepto" alias cdz="cd $GH_HOME/zepto"
alias cdg="cd ~/Documents/Code/Github" alias cdg="cd $GH_HOME"
alias cdd="cd ~/Documents/Code/Github/decode" alias cdot="cd $GH_HOME/.dotfiles"
alias cdot="cd ~/Documents/Code/Github/.dotfiles"
alias cdgo="cd ~/.go/src" alias cdgo="cd ~/.go/src"
alias emptytrash="sudo rm -rfv /Volumes/*/.Trashes; sudo rm -rfv ~/.Trash; sudo rm -rfv /private/var/log/asl/*.asl" alias emptytrash="sudo rm -rfv /Volumes/*/.Trashes; sudo rm -rfv ~/.Trash; sudo rm -rfv /private/var/log/asl/*.asl"
alias dud="du -d 1" alias dud="du -d 1"
@@ -351,6 +351,10 @@ function tree(){
find . | sed -e 's/[^\/]*\//|--/g' -e 's/-- |/ |/g' | $PAGER find . | sed -e 's/[^\/]*\//|--/g' -e 's/-- |/ |/g' | $PAGER
} }
function vig {
vi ~/Documents/Code/Github/$1
}
###-begin-npm-completion-### ###-begin-npm-completion-###
# #
# npm command completion script # npm command completion script