Fix shell configuration for exec-path-from-shell

This commit is contained in:
Fabio Scotto di Santolo
2020-09-27 10:54:49 +02:00
parent 51d00efe47
commit 1e0ed37b7d
5 changed files with 22 additions and 41 deletions

15
.bashrc
View File

@@ -144,20 +144,7 @@ function welcome() {
echo -en "Local IP Address : "; my_ip | awk '{print $2}'
echo "";
}
function appendpath() {
case ":$PATH:" in
*:"$1":*)
;;
*)
PATH="${PATH:+$PATH:}$1"
esac
}
appendpath $HOME/.local/bin
appendpath $HOME/go/bin
unset appendpath
[ -r $HOME/.bashrc.aliases ] && . $HOME/.bashrc.aliases
# export QT_STYLE_OVERRIDE=gtk