bashrc & zshrc: remove useless else which broke bash

This commit is contained in:
Mikaela Suomalainen 2014-10-02 09:23:53 +03:00
parent 5811927ffe
commit 622896d455
2 changed files with 0 additions and 8 deletions

4
bashrc
View File

@ -806,14 +806,10 @@ erase-mbr() {
# place for this. # place for this.
if hash clang 2>/dev/null; then if hash clang 2>/dev/null; then
export CC=clang export CC=clang
else
#unset CC
fi fi
if hash clang++ 2>/dev/null; then if hash clang++ 2>/dev/null; then
export CXX=clang++ export CXX=clang++
else
#unset CXX
fi fi
# Function to temporarily set sysctl options which I want and echo how to # Function to temporarily set sysctl options which I want and echo how to

4
zshrc
View File

@ -779,14 +779,10 @@ erase-mbr() {
# place for this. # place for this.
if hash clang 2>/dev/null; then if hash clang 2>/dev/null; then
export CC=clang export CC=clang
else
#unset CC
fi fi
if hash clang++ 2>/dev/null; then if hash clang++ 2>/dev/null; then
export CXX=clang++ export CXX=clang++
else
#unset CXX
fi fi
# Function to temporarily set sysctl options which I want and echo how to # Function to temporarily set sysctl options which I want and echo how to