Skip to content

Commit 61b5a74

Browse files
committed
Add OCaml configs
1 parent f7935ae commit 61b5a74

File tree

4 files changed

+14
-2
lines changed

4 files changed

+14
-2
lines changed

.gitignore

+2-2
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@ bower_components
2525
.pm2
2626
.node-gyp
2727
.babel.json
28+
.yarnrc
2829

2930
# IDEs
3031
.idea
@@ -45,8 +46,6 @@ fish/fishd.*
4546
*.padl
4647
.rbenv
4748
*.ssb
48-
.yarnrc
49-
.zcompdump
5049

5150
# User directories in MacOS
5251
Applications
@@ -88,3 +87,4 @@ code/
8887
.gitconfig.local
8988
.*.log
9089
.viminfo
90+
.zcompdump

.ocamlinit

+6
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
(* Added by OPAM. *)
2+
let () =
3+
try Topdirs.dir_directory (Sys.getenv "OCAML_TOPLEVEL_PATH")
4+
with Not_found -> ()
5+
;;
6+

extras

+3
Original file line numberDiff line numberDiff line change
@@ -6,4 +6,7 @@ export NVM_DIR="$HOME/.nvm"
66
if which ruby >/dev/null && which gem >/dev/null; then
77
PATH="$(ruby -rubygems -e 'puts Gem.user_dir')/bin:$PATH"
88
fi
9+
910
export PATH="$HOME/.cargo/bin:$PATH"
11+
12+
eval `opam config env`

zsh/extras.zsh

+3
Original file line numberDiff line numberDiff line change
@@ -2,3 +2,6 @@ test -e ${HOME}/.iterm2_shell_integration.zsh && source ${HOME}/.iterm2_shell_in
22

33
# brew info zsh-syntax-highlighting
44
test -e /usr/local/share/zsh-syntax-highlighting/zsh-syntax-highlighting.zsh && source /usr/local/share/zsh-syntax-highlighting/zsh-syntax-highlighting.zsh
5+
6+
# OPAM configuration
7+
. /Users/kevinsuttle/.opam/opam-init/init.zsh > /dev/null 2> /dev/null || true

0 commit comments

Comments
 (0)