aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMitch Riedstra <mitch@riedstra.us>2019-09-21 09:17:14 -0400
committerMitch Riedstra <mitch@riedstra.us>2019-09-21 09:17:14 -0400
commit6ddb42ea07d426fe3d10e93210a55e652416a773 (patch)
tree3e22bc0e444710294fdae3e12c00475636138365
parentfc880dddb444ef9059697e9522a5a0cee44aaf5c (diff)
downloaddotfiles-6ddb42ea07d426fe3d10e93210a55e652416a773.tar.gz
dotfiles-6ddb42ea07d426fe3d10e93210a55e652416a773.tar.xz
modify the bash defaults. Also add in 'set_go' to utils from misc
-rw-r--r--shell/bash1
-rw-r--r--shell/misc9
-rw-r--r--shell/utils9
3 files changed, 10 insertions, 9 deletions
diff --git a/shell/bash b/shell/bash
index 1106665..ae7d3b4 100644
--- a/shell/bash
+++ b/shell/bash
@@ -5,6 +5,7 @@ setcoloraliases
setlscolors
set_pager
set_editor
+set_go
setaliases
setsudoaliases
diff --git a/shell/misc b/shell/misc
index c589f10..3cdabeb 100644
--- a/shell/misc
+++ b/shell/misc
@@ -1,13 +1,4 @@
-set_go() {
- export GOPATH="${GOPATH:-$HOME/go}"
- export PATH="$GOPATH/bin:$PATH"
-
- _gobin="/usr/local/go/bin"
- if [ -e "$_gobin" ] ; then
- export PATH="$_gobin:$PATH"
- fi
-}
pkg_switch_branch() {
_f="/etc/pkg/FreeBSD.conf"
cp $_f ${_f}.orig
diff --git a/shell/utils b/shell/utils
index c597e8a..3fceec8 100644
--- a/shell/utils
+++ b/shell/utils
@@ -1,4 +1,13 @@
+set_go() {
+ export GOPATH="${GOPATH:-$HOME/go}"
+ export PATH="$GOPATH/bin:$PATH"
+
+ _gobin="/usr/local/go/bin"
+ if [ -e "$_gobin" ] ; then
+ export PATH="$_gobin:$PATH"
+ fi
+}
set_editor() {
if [ -z "$EDITORS" ] ; then
export EDITORS="ed vi vim"