Skip to content

Commit

Permalink
Add OCaml configs
Browse files Browse the repository at this point in the history
  • Loading branch information
kevinSuttle committed Apr 6, 2018
1 parent f7935ae commit 61b5a74
Show file tree
Hide file tree
Showing 4 changed files with 14 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ bower_components
.pm2
.node-gyp
.babel.json
.yarnrc

# IDEs
.idea
Expand All @@ -45,8 +46,6 @@ fish/fishd.*
*.padl
.rbenv
*.ssb
.yarnrc
.zcompdump

# User directories in MacOS
Applications
Expand Down Expand Up @@ -88,3 +87,4 @@ code/
.gitconfig.local
.*.log
.viminfo
.zcompdump
6 changes: 6 additions & 0 deletions .ocamlinit
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
(* Added by OPAM. *)
let () =
try Topdirs.dir_directory (Sys.getenv "OCAML_TOPLEVEL_PATH")
with Not_found -> ()
;;

3 changes: 3 additions & 0 deletions extras
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,7 @@ export NVM_DIR="$HOME/.nvm"
if which ruby >/dev/null && which gem >/dev/null; then
PATH="$(ruby -rubygems -e 'puts Gem.user_dir')/bin:$PATH"
fi

export PATH="$HOME/.cargo/bin:$PATH"

eval `opam config env`
3 changes: 3 additions & 0 deletions zsh/extras.zsh
Original file line number Diff line number Diff line change
Expand Up @@ -2,3 +2,6 @@ test -e ${HOME}/.iterm2_shell_integration.zsh && source ${HOME}/.iterm2_shell_in

# brew info zsh-syntax-highlighting
test -e /usr/local/share/zsh-syntax-highlighting/zsh-syntax-highlighting.zsh && source /usr/local/share/zsh-syntax-highlighting/zsh-syntax-highlighting.zsh

# OPAM configuration
. /Users/kevinsuttle/.opam/opam-init/init.zsh > /dev/null 2> /dev/null || true

0 comments on commit 61b5a74

Please # to comment.