diff --git a/liveuser/.bashrc b/liveuser/.bashrc index 18a8cbb9..d0f06c80 100644 --- a/liveuser/.bashrc +++ b/liveuser/.bashrc @@ -2,6 +2,12 @@ # ~/.bashrc # +if [ -d "$HOME/.gnupg" ]; then + if [ $(stat -c '%a' "$HOME/.gnupg") -ne 700 ]; then + chmod 700 "$HOME/.gnupg" + fi +fi + # If not running interactively, don't do anything [[ $- != *i* ]] && return @@ -83,3 +89,5 @@ POWERLINE_BASH_SELECT=1 # Advanced command-not-found hook source /usr/share/doc/find-the-command/ftc.bash + +PATH="$PATH:$HOME/.local/bin/"