diff --git a/bash.spec b/bash.spec index 96f7fc6..7d4974b 100644 --- a/bash.spec +++ b/bash.spec @@ -7,7 +7,7 @@ Version: %{baseversion}%{patchleveltag} Name: bash Summary: The GNU Bourne Again shell -Release: 3%{?dist} +Release: 4%{?dist} License: GPLv3+ Url: https://www.gnu.org/software/bash Source0: https://ftp.gnu.org/gnu/bash/bash-%{baseversion}.tar.gz @@ -317,6 +317,10 @@ end %{_libdir}/pkgconfig/%{name}.pc %changelog +* Mon Sep 10 2018 Siteshwar Vashisht - 4.4.23-4 +- Set custom PATH in non-login shells + Resolves: #1615131 + * Thu Jul 12 2018 Fedora Release Engineering - 4.4.23-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild diff --git a/dot-bash_profile b/dot-bash_profile index 11e0c4f..55136b9 100644 --- a/dot-bash_profile +++ b/dot-bash_profile @@ -6,7 +6,3 @@ if [ -f ~/.bashrc ]; then fi # User specific environment and startup programs - -PATH=$HOME/.local/bin:$HOME/bin:$PATH - -export PATH diff --git a/dot-bashrc b/dot-bashrc index 1130779..68854a1 100644 --- a/dot-bashrc +++ b/dot-bashrc @@ -5,6 +5,10 @@ if [ -f /etc/bashrc ]; then . /etc/bashrc fi +# User specific environment +PATH="$HOME/.local/bin:$HOME/bin:$PATH" +export PATH + # Uncomment the following line if you don't like systemctl's auto-paging feature: # export SYSTEMD_PAGER=