From c6890911b108899a655214a7e59261ef36531122 Mon Sep 17 00:00:00 2001 From: Tom van der Lee Date: Fri, 1 May 2015 13:49:04 +0200 Subject: Removed TERM environment var from bashrc --- bash/.bashrc | 21 ++++++++++----------- 1 file changed, 10 insertions(+), 11 deletions(-) (limited to 'bash') diff --git a/bash/.bashrc b/bash/.bashrc index b2b81ab..3fe1503 100644 --- a/bash/.bashrc +++ b/bash/.bashrc @@ -6,7 +6,6 @@ [[ $- != *i* ]] && return export PS1='[\d][\t]\u on \h\n\w => ' -export TERM="xterm-256color" export PATH="$PATH:$HOME/.local/bin" export PATH="$PATH:$HOME/.local/usr/bin" @@ -40,16 +39,6 @@ exists() { hash $@ 2> /dev/null } -vim() { - if [[ -z $@ ]]; then - $usr/bin/vim - elif [[ -d $@ ]]; then - dir=$(pwd) - cd $@ && $usr/bin/vim && cd $dir - else - $usr/bin/vim $@ - fi -} if exists mpv; then alias jblive='mpv rtmp://videocdn-us.geocdn.scaleengine.net/jblive/live/jblive.stream' @@ -59,6 +48,16 @@ fi if exists vim; then export EDITOR="vim" + vim() { + if [[ -z $@ ]]; then + $usr/bin/vim + elif [[ -d $@ ]]; then + dir=$(pwd) + cd $@ && $usr/bin/vim && cd $dir + else + $usr/bin/vim $@ + fi + } fi if exists go; then -- cgit v1.2.3