-
Notifications
You must be signed in to change notification settings - Fork 16
Expand file tree
/
Copy pathshellrc
More file actions
22 lines (20 loc) · 696 Bytes
/
shellrc
File metadata and controls
22 lines (20 loc) · 696 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
# User configuration
test -e $HOME/.dotfiles/extra.shell && source $HOME/.dotfiles/extra.shell
source $HOME/.dotfiles/aliases
export EDITOR=vim
export VISUAL=vim
export GOPATH=$HOME/Coding/golang
export FZF_DEFAULT_COMMAND="fd --type file --color=always"
export FZF_DEFAULT_OPTS="--ansi"
export FZF_CTRL_T_COMMAND="$FZF_DEFAULT_COMMAND"
case "$(uname -s)" in
Linux)
;;
Darwin)
# Load Homebrew Command Not Found
HOMEBREW_COMMAND_NOT_FOUND_HANDLER="$(brew --repository)/Library/Homebrew/command-not-found/handler.sh"
if [ -f "$HOMEBREW_COMMAND_NOT_FOUND_HANDLER" ]; then
source "$HOMEBREW_COMMAND_NOT_FOUND_HANDLER";
fi
;;
esac