From fdc87a717ca6b770197d542f7e8090db52f18898 Mon Sep 17 00:00:00 2001 From: James Dixon Date: Mon, 20 Jul 2020 21:38:30 -0400 Subject: [PATCH] add path environment variables --- bash/bashrc | 20 ++++++++++++++++---- 1 file changed, 16 insertions(+), 4 deletions(-) diff --git a/bash/bashrc b/bash/bashrc index c4c17f7..477c476 100644 --- a/bash/bashrc +++ b/bash/bashrc @@ -14,17 +14,24 @@ HISTTIMEFORMAT="%F %T " # SHELL OPTIONS # ------------- shopt -s checkhash checkjobs checkwinsize -shopt -s direxpand dirspell extglob globstar +shopt -s dirspell extglob globstar shopt -s cmdhist histappend # VARIABLES # --------- + +# PROGRAMS export EDITOR="/usr/bin/vim" export VISUAL="/usr/bin/vim" export PAGER="less" +# PATHS +export WD="$HOME/src" +export GOWD="$HOME/.go/src/github.com/lemonase" +export DF="$WD/dotfiles" + +# URLS export GH="https://github.com/lemonase" -export DF="$HOME/src/dotfiles" # ALIASES # ------- @@ -173,8 +180,13 @@ rcdiff() { } # git -lazygit() { git commit -a -m "$*" && git push; } -lg() { lazygit "$*"; } +lazygit() { + git commit -a -m "$*" && git push; +} + +lg() { + lazygit "$*"; +} # PROMPTS # -------