This repository has been archived by the owner on Jun 25, 2020. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
/
config.fish
48 lines (38 loc) · 1.52 KB
/
config.fish
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
set default terminal type
set -Ux TERM "xterm-256color"
# set up custom PATHs
set -x PATH "~/dev/forks/openjdk/jdk-jdk/build/macosx-x86_64-server-release/jdk/bin"
set -x PATH ~/.cargo/bin $PATH
set -x PATH /usr/local/Cellar/gcc/9.2.0/bin/ $PATH
set -x PATH ~/Software/Idris2 $PATH
set -x PATH ~/.local/bin $PATH
set -x PATH ~/.cabal/bin $PATH
set -x JAVA_HOME "~/dev/forks/openjdk/jdk-jdk/build/macosx-x86_64-server-release/jdk/bin"
## opam config
eval (opam env)
set -g fish_user_paths "/usr/local/sbin" $fish_user_paths
set -g fish_user_paths "/usr/local/opt/llvm/bin" $fish_user_paths
## llvm config
set -gx LDFLAGS "-L/usr/local/opt/llvm/lib"
set -gx CPPFLAGS "-I/usr/local/opt/llvm/include"
set -g fish_user_paths "/usr/local/opt/llvm/bin" $fish_user_paths
ssh-add ~/.ssh/mbp
set -x LC_ALL en_US.UTF-8
set -x PATH ~/code/scripts $PATH
alias runc=runc.sh
alias runcpp=runcpp.sh
alias runjava=runjava.sh
alias runrs=runrs.sh
alias runpy=runpy.sh
alias tmux='tmux -2'
## set variable for the racer vim plugin
set -gx RUST_SRC_PATH (rustc --print sysroot)/lib/rustlib/src/rust/src
## postgres configuration
alias pgstart="pg_ctl -D ~/.local/postgresdb -l ~/.local/postgresdb/logs/logfile start"
alias pgstop="pg_ctl -D ~/.local/postgresdb stop"
alias pgrestart="pg_ctl -D ~/.local/postgresdb restart"
alias pgstatus="pg_ctl -D ~/.local/postgresdb status"
## rbenv configuration
status --is-interactive; and source (rbenv init -|psub)
# configure paths for Crafting Interpreters
set -x PATH /Users/z0ltan/dev/forks/craftinginterpreters $PATH