aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.profile2
-rw-r--r--.zshrc6
2 files changed, 7 insertions, 1 deletions
diff --git a/.profile b/.profile
index 7711501..b3a0a28 100644
--- a/.profile
+++ b/.profile
@@ -1,3 +1,5 @@
if [ -z $TMUX ]; then
redshift -c $HOME/.dotfiles/redshift.conf &
fi
+
+export PATH=$PATH:/usr/local/go/bin
diff --git a/.zshrc b/.zshrc
index 54925c4..a2b4092 100644
--- a/.zshrc
+++ b/.zshrc
@@ -34,9 +34,10 @@ alias ll="ls -lFh"
alias la="ls -a"
alias lA="ls -al"
alias lss="ls -Ssh"
+alias l1="ls -1"
alias less="less -N"
alias mkdir="mkdir -p"
-alias tree="tree -I '__pycache__'"
+alias treeI="tree -I '__pycache__' -I '*.o'"
alias v="vim"
alias :q="exit"
alias :sp="tmux split-window"
@@ -80,6 +81,9 @@ source /etc/zsh_command_not_found
export PATH="/sbin:/usr/local/sbin:/usr/sbin:$PATH"
# add my bin
export PATH="$HOME/bin:$PATH"
+# add go bins
+export PATH="$PATH:/usr/local/go/bin"
+export PATH="$PATH:$(go env GOPATH)/bin"
# man with color
export LESS_TERMCAP_mb=$'\e[1;32m'