aboutsummaryrefslogtreecommitdiff
path: root/bash/env.sh
blob: da62d739e30c61ec97bd6dffe31d13499394e763 (plain) (blame)
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
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
#!/usr/bin/env bash

#
# Git Annex
#

export RSYNC_NET_URL=16686@ch-s010.rsync.net
export R=$RSYNC_NET_URL


#
# Perl6
#

export PATH=~/.rakudobrew/bin:$PATH


#
# Haskel Stack
#

export PATH=~/.local/bin:$PATH



#
# Misc
#

export EDITOR=vi
export PATH="$DOTFILES/scripts/:$PATH"
export PATH="$DOTFILES/encrypted/scripts/:$PATH"
export INPUTRC=~/.inputrc
export CACHE_DIR="$HOME/ownCloud/cache"
export PATH="$HOME/dev/libre/website/:$PATH"
export PATH="$DOTFILES/bin:$PATH"
export PATH="$HOME/dev/misc/flutter/bin:$PATH"
export PATH="$HOME/dev/libre/songbooks/cli:$PATH"
export PATH="$HOME/dev/misc/ArchiveBox/bin:$PATH"
#export BROWSER="firefox"



#
# Global (not NixOS) NPM
#

export PATH="$HOME/.npm-packages/bin/:$PATH"



#
# Leiningen
#

export LEIN_SUPPRESS_USER_LEVEL_REPO_WARNINGS=1


#
# NixOS
#


isLinux && {
  export SSL_CERT_FILE=/etc/ssl/certs/ca-bundle.crt
}


#
# Go
#

export GOPATH="$HOME/dev/go"
export PATH="$GOPATH/bin:$PATH"

#
# Rust
#
export PATH="$HOME/.cargo/bin:$PATH"
RUST_SRC_PATH="$(rustc --print sysroot)/lib/rustlib/src/rust/src"
export RUST_SRC_PATH