From ab2919a7404764e7a5d1902fa577177a72c6022d Mon Sep 17 00:00:00 2001 From: hellerve Date: Wed, 22 Jun 2016 15:23:29 +0200 Subject: [PATCH] added GH_HOME variable --- cabal/config | 43 +++++++++++++++++++++++++++++-------------- gitignore | 2 ++ zshrc | 12 ++++++++---- 3 files changed, 39 insertions(+), 18 deletions(-) diff --git a/cabal/config b/cabal/config index 98f35fa..75534d1 100644 --- a/cabal/config +++ b/cabal/config @@ -7,17 +7,25 @@ -- Be careful with spaces and indentation because they are -- used to indicate layout for nested sections. --- Cabal library version: 1.22.0.0 --- cabal-install version: 1.22.0.0 +-- Cabal library version: 1.24.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 -- ignore-sandbox: False -remote-repo: hackage.haskell.org:http://hackage.haskell.org/packages/archive -remote-repo-cache: /Users/veitheller/.cabal/packages +-- ignore-expiry: False +-- http-transport: +remote-repo-cache: /Users/sidharta/.cabal/packages -- local-repo: -- logs-dir: -world-file: /Users/veitheller/.cabal/world +world-file: /Users/sidharta/.cabal/world -- verbose: 1 -- compiler: ghc -- with-compiler: @@ -29,6 +37,9 @@ world-file: /Users/veitheller/.cabal/world -- shared: -- executable-dynamic: False -- profiling: +-- executable-profiling: +-- profiling-detail: +-- library-profiling-detail: -- optimization: True -- debug-info: False -- library-for-ghci: @@ -41,11 +52,12 @@ world-file: /Users/veitheller/.cabal/world -- flags: -- extra-include-dirs: -- extra-lib-dirs: -extra-prog-path: /Users/veitheller/.cabal/bin --- instantiate-with: +-- extra-framework-dirs: +extra-prog-path: /Users/sidharta/.cabal/bin -- tests: False --- library-coverage: -- coverage: False +-- library-coverage: +-- allow-newer: False -- exact-configuration: False -- benchmarks: False -- relocatable: False @@ -53,8 +65,7 @@ extra-prog-path: /Users/veitheller/.cabal/bin -- constraint: -- preference: -- solver: choose --- allow-newer: False -documentation: True +-- documentation: False -- doc-index-file: $datadir/doc/$arch-$os-$compiler/index.html -- max-backjumps: 2000 -- reorder-goals: False @@ -66,21 +77,25 @@ documentation: True -- upgrade-dependencies: False -- root-cmd: -- symlink-bindir: -build-summary: /Users/veitheller/.cabal/logs/build.log +build-summary: /Users/sidharta/.cabal/logs/build.log -- build-log: remote-build-reporting: anonymous -- report-planning-failure: False -- one-shot: False -- run-tests: jobs: $ncpus +-- offline: False -- username: -- password: +-- password-command: +-- builddir: haddock -- keep-temp-files: False -- hoogle: False -- html: False -- html-location: + -- for-hackage: False -- executables: False -- tests: False -- benchmarks: False @@ -92,10 +107,10 @@ haddock -- contents-location: install-dirs user - -- prefix: /Users/veitheller/.cabal + -- prefix: /Users/sidharta/.cabal -- bindir: $prefix/bin -- libdir: $prefix/lib - -- libsubdir: $abi/$pkgkey + -- libsubdir: $abi/$libname -- libexecdir: $prefix/libexec -- datadir: $prefix/share -- datasubdir: $abi/$pkgid @@ -108,7 +123,7 @@ install-dirs global -- prefix: /usr/local -- bindir: $prefix/bin -- libdir: $prefix/lib - -- libsubdir: $abi/$pkgkey + -- libsubdir: $abi/$libname -- libexecdir: $prefix/libexec -- datadir: $prefix/share -- datasubdir: $abi/$pkgid diff --git a/gitignore b/gitignore index 56a5828..ff87459 100644 --- a/gitignore +++ b/gitignore @@ -28,3 +28,5 @@ doxyfile local.sh .idea +node_modules/ +.mysql_history diff --git a/zshrc b/zshrc index f0172c0..8f63e2d 100644 --- a/zshrc +++ b/zshrc @@ -32,6 +32,7 @@ export TERM=rxvt export LANG=en_US.UTF-8 export LC_ALL=$LANG 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 vi="stty stop '' -ixoff ; vim" alias gcc="gcc-5" @@ -55,10 +56,9 @@ alias pip2="/usr/local/bin/pip" alias pip="pip3" alias pypy="pypy3" alias setjdk="launchctl setenv STUDIO_JDK /Library/Java/JavaVirtualMachines/jdk1.8.0_05.jdk" -alias cdz="cd ~/Documents/Code/Github/zepto" -alias cdg="cd ~/Documents/Code/Github" -alias cdd="cd ~/Documents/Code/Github/decode" -alias cdot="cd ~/Documents/Code/Github/.dotfiles" +alias cdz="cd $GH_HOME/zepto" +alias cdg="cd $GH_HOME" +alias cdot="cd $GH_HOME/.dotfiles" 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 dud="du -d 1" @@ -351,6 +351,10 @@ function tree(){ find . | sed -e 's/[^\/]*\//|--/g' -e 's/-- |/ |/g' | $PAGER } +function vig { + vi ~/Documents/Code/Github/$1 +} + ###-begin-npm-completion-### # # npm command completion script