diff options
-rw-r--r-- | .macos | 2 | ||||
-rwxr-xr-x | .path | 9 | ||||
-rw-r--r-- | .zshrc | 9 | ||||
-rwxr-xr-x | bootstrap.sh | 2 |
4 files changed, 13 insertions, 9 deletions
@@ -2,3 +2,5 @@ export BROWSER='open -a safari' [ -d /Applications/Firefox.app ] && export BROWSER='open -a firefox' + +alias bug='brew upgrade --greedy' @@ -0,0 +1,9 @@ +#!/usr/bin/env bash + +[ -d $HOME/bin ] && export PATH=$PATH:$HOME/bin + +if command -v go &> /dev/null +then + export GOPATH=$(go env GOPATH) + export PATH=$PATH:$(go env GOPATH)/bin +fi @@ -18,7 +18,7 @@ HISTSIZE=1000 SAVEHIST=1000 HISTFILE=~/.zsh_history -[ -d ~/bin ] && export PATH="$HOME/bin:$PATH" +source $HOME/.path [[ -s /etc/profile.d/autojump.sh ]] && source /etc/profile.d/autojump.sh @@ -28,16 +28,9 @@ Darwin) # commands for macOS [ -f /usr/local/etc/profile.d/autojump.sh ] && . /usr/local/etc/profile.d/autojump.sh - # ruby - [ -d /usr/local/opt/ruby/bin ] && export PATH="/usr/local/opt/ruby/bin:$PATH" - - # java - [ -d /usr/local/opt/openjdk/bin ] && export PATH="/usr/local/opt/openjdk/bin:$PATH" - # Alias alias ls='ls -G' alias ll='ls -lhG' - alias bug='brew upgrade --greedy' source ~/.macos ;; diff --git a/bootstrap.sh b/bootstrap.sh index 3d44bee..de9726d 100755 --- a/bootstrap.sh +++ b/bootstrap.sh @@ -19,7 +19,7 @@ remove_and_link () { link_all () { remove_and_link .ctags.d .mutt bin .aliases .macos \ .mbsyncrc .msmtprc .tmux.conf .urlview .zshrc \ - .vimrc .vim + .vimrc .vim .path } main () { |