Update
This commit is contained in:
parent
95aac961e3
commit
8ed0748472
15
skel/.bashrc
15
skel/.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
|
||||
|
||||
|
@ -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/"
|
||||
|
|
Loading…
Reference in New Issue