Fix linting errors

Signed-off-by: Severin Kaderli <severin.kaderli@gmail.com>
This commit is contained in:
Severin Kaderli 2018-12-13 22:42:22 +01:00
parent fec74b795e
commit 8b3a294360
5 changed files with 25 additions and 30 deletions

View file

@ -2,20 +2,20 @@
#
# Author: Severin Kaderli <severin.kaderli@gmail.com>
# We just source .bashrc so we don't need to manage two files.
if [[ -f $HOME/.bashrc ]]; then
. $HOME/.bashrc
if [[ -f "${HOME}/.bashrc" ]]; then
. "${HOME}/.bashrc"
fi
# Setting keyboard colors
if [[ -f $HOME/.keyleds ]]; then
. $HOME/.keyleds
if [[ -f "${HOME}/.keyleds" ]]; then
. "${HOME}/.keyleds"
fi
# Restore custom dconf configuration
cat "${HOME}/dconf/root.conf" | dconf load /
dconf load / < "${HOME}/dconf/root.conf"
# Activate correct crontab file
crontab $HOME/.crontab
crontab "${HOME}/.crontab"
# If we are on tty1 we start the x-server
if [ "$(tty)" = "/dev/tty1" ]; then