diff --git a/.config/bash/.bashrc b/.config/bash/.bashrc index 976db85..6a63122 100644 --- a/.config/bash/.bashrc +++ b/.config/bash/.bashrc @@ -4,7 +4,8 @@ case $- in *) return ;; esac -export PATH=$PATH:$HOME/.local/bin +export GOPATH="$HOME/go" +export PATH="$PATH:$HOME/.local/bin:$GOPATH/bin" # don't put duplicate lines or lines starting with space in the history. # See bash(1) for more options diff --git a/.config/zsh/.zshrc b/.config/zsh/.zshrc index 75be72d..25915d0 100644 --- a/.config/zsh/.zshrc +++ b/.config/zsh/.zshrc @@ -1,29 +1,12 @@ # If you come from bash you might have to change your $PATH. -export PATH=$HOME/.local/bin:$PATH +export GOPATH="$HOME/go" +export PATH=$HOME/.local/bin:$GOPATH/bin:$PATH # Path to your oh-my-zsh installation. export ZSH="/home/solomon/.oh-my-zsh" ZSH_THEME="inkletblotsh" -# Uncomment the following line to disable bi-weekly auto-update checks. -# DISABLE_AUTO_UPDATE="true" - -# Uncomment the following line to automatically update without prompting. -# DISABLE_UPDATE_PROMPT="true" - -# Uncomment the following line if pasting URLs and other text is messed up. -# DISABLE_MAGIC_FUNCTIONS="true" - -# Uncomment the following line to disable colors in ls. -# DISABLE_LS_COLORS="true" - -# Uncomment the following line to disable auto-setting terminal title. -# DISABLE_AUTO_TITLE="true" - -# Uncomment the following line to enable command auto-correction. -# ENABLE_CORRECTION="true" - # Uncomment the following line if you want to change the command execution time # stamp shown in the history command output. # You can set one of the optional three formats: @@ -70,10 +53,6 @@ bindkey -v export KEYTIMEOUT=1 # use vim keys in tab complete menu: -bindkey -M menuselect 'h' vi-backward-char -bindkey -M menuselect 'k' vi-up-line-or-history -bindkey -M menuselect 'l' vi-forward-char -bindkey -M menuselect 'j' vi-down-line-or-history bindkey -v '^?' backward-delete-char # use lf to switch directories and bind it to ctrl-o