From f5929fda4da27fe7ec01dda9e063c5494c989c57 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C5=A0tefan=20Bystriansky?= Date: Sat, 14 Jan 2023 21:49:05 +0100 Subject: [PATCH] =?UTF-8?q?o=C5=A1etrenie?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .bashrc | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/.bashrc b/.bashrc index 02635f3..99c56b8 100644 --- a/.bashrc +++ b/.bashrc @@ -159,9 +159,15 @@ fi # export PATH=$PATH:$GOROOT/bin #fi -export GOPATH=$HOME/go -export EDITOR=/usr/bin/vim +if [ -d "$HOME/go" ] ; then + export GOPATH=$HOME/go +fi + +#if [ -f /usr/bin/vim" ] ; then +export EDITOR=/usr/bin/vim export VISUAL=$EDITOR +#fi + export LC_TIME="sk_SK.UTF8" export LC_ALL="sk_SK.UTF8"