This commit is contained in:
Valeria Fadeeva 2023-12-19 10:39:00 +05:00
parent 95aac961e3
commit 8ed0748472
1 changed files with 11 additions and 4 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
@ -13,10 +19,6 @@ if ! shopt -oq posix; then
fi
fi
# Advanced command-not-found hook
source /usr/share/doc/find-the-command/ftc.bash
xhost +local:root > /dev/null 2>&1
complete -cf sudo
@ -84,3 +86,8 @@ powerline-daemon -q
POWERLINE_BASH_CONTINUATION=1
POWERLINE_BASH_SELECT=1
. /usr/share/powerline/bindings/bash/powerline.sh
# Advanced command-not-found hook
source /usr/share/doc/find-the-command/ftc.bash
PATH="$PATH:$HOME/.local/bin/"