bashrc & zshrc: remove useless else which broke bash
This commit is contained in:
parent
5811927ffe
commit
622896d455
4
bashrc
4
bashrc
|
@ -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
4
zshrc
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue