-
Notifications
You must be signed in to change notification settings - Fork 1
/
.exports
executable file
·68 lines (48 loc) · 1.61 KB
/
.exports
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
#!/bin/bash
export PATH=/usr/local/bin:/usr/local/sbin:/usr/bin:/bin:/usr/sbin:/sbin
# add Homebrew to path
eval "$(/opt/homebrew/bin/brew shellenv)"
# add composer global bin directory to path
export PATH=~/.composer/vendor/bin:$PATH
# add project dependency bin directories to end of path
export PATH=$PATH:./node_modules/.bin:./vendor/bin:./bin
export NVM_DIR="$HOME/.nvm"
export HISTFILE=~/.histfile
# number of lines kept in history
export HISTSIZE=10000
# number of lines saved in the history after logout
export SAVEHIST=10000
export VAGRANT_DEFAULT_PROVIDER=virtualbox
# set default editor to Neovim if present
if which nvim &> /dev/null; then
export EDITOR="nvim"
else
export EDITOR="vim"
fi
export VISUAL=$EDITOR
# fzf options
export FZF_DEFAULT_COMMAND='ag --hidden -p ~/.ignore -g ""'
export FZF_CTRL_T_COMMAND="$FZF_DEFAULT_COMMAND"
# use Vim as the pager except inside Vim terminal
if [ -z "${VIMRUNTIME}" ]; then
export PAGER=vimpager
else
export PAGER=less
fi
export GOPATH=$HOME/workspace/go
export PATH=$PATH:$GOPATH/bin
# enable colours in ls on OSX/BSD
export CLICOLOR=1
# Homebrew bundle configuration
export HOMEBREW_BUNDLE_FILE="~/Brewfile"
export HOMEBREW_BUNDLE_NO_LOCK=1
# opt-out of Homebrew's analytics
export HOMEBREW_NO_ANALYTICS=1
# Homebrew cask options
export HOMEBREW_CASK_OPTS="--appdir=~/Applications"
export AUTHOR="Mathew Attlee <[email protected]>"
# rotate Git duet authors are each commit
export GIT_DUET_ROTATE_AUTHOR=1
# display the current directory as the title
export PROMPT_COMMAND='echo -ne "\033]0;$(basename ${PWD})\007"'
export STARSHIP_CONFIG=~/.starship.toml