This commit is contained in:
Valeria Fadeeva 2023-12-19 10:43:45 +05:00
parent 7d56ad3f52
commit 3757e77adf
1 changed files with 8 additions and 0 deletions

View File

@ -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/"