From f83b1d7b530ebcc61bdd288bee08156124be6652 Mon Sep 17 00:00:00 2001 From: Charles Date: Mon, 21 Oct 2019 19:55:24 +0200 Subject: added go conf --- .profile | 2 ++ .zshrc | 6 +++++- 2 files changed, 7 insertions(+), 1 deletion(-) 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' -- cgit