Move .crontab to .config/cron/crontab
Signed-off-by: Severin Kaderli <severin.kaderli@gmail.com>
This commit is contained in:
parent
4d9092f4b7
commit
d2a27f0df5
8 changed files with 220 additions and 33 deletions
|
@ -23,7 +23,7 @@ fi
|
|||
dconf load / < "${HOME}/.config/dconf/root.conf"
|
||||
|
||||
# Activate correct crontab file
|
||||
crontab "${HOME}/.crontab"
|
||||
crontab "${$XDG_CONFIG_HOME}/cron/crontab"
|
||||
|
||||
# If we are on tty1 we start the x-server
|
||||
if [ "$(tty)" = "/dev/tty1" ]; then
|
||||
|
|
|
@ -17,6 +17,11 @@ shopt -s histappend
|
|||
shopt -s checkwinsize
|
||||
shopt -s globstar
|
||||
|
||||
# Sourcing environment variables
|
||||
if [ -f "${HOME}/.env" ]; then
|
||||
. "${HOME}/.env"
|
||||
fi
|
||||
|
||||
# Enable color support of ls
|
||||
if [ -f "${HOME}/.dircolors" ]; then
|
||||
dircolors -b "${HOME}/.dircolors" > /dev/null 2>&1
|
||||
|
@ -36,9 +41,4 @@ fi
|
|||
if [ -f "/usr/share/bash-completion/bash_completion" ]; then
|
||||
. /usr/share/bash-completion/bash_completion
|
||||
fi
|
||||
complete -cf sudo
|
||||
|
||||
# Sourcing alias definitions
|
||||
if [ -f "${HOME}/.env" ]; then
|
||||
. "${HOME}/.env"
|
||||
fi
|
||||
complete -cf sudo
|
|
@ -1,5 +1,5 @@
|
|||
# SCRIPT NAME:
|
||||
# .crontab
|
||||
# .config/cron/crontab
|
||||
#
|
||||
# AUTHOR:
|
||||
# Severin Kaderli <severin.kaderli@gmail.com>
|
|
@ -13,6 +13,11 @@
|
|||
# This script is sourced by .bashrc
|
||||
. "${HOME}/bin/utils.sh"
|
||||
|
||||
# XDG_Base_Directories
|
||||
export XDG_CONFIG_HOME="$HOME/.config"
|
||||
export XDG_CACHE_HOME="$HOME/.cache"
|
||||
export XDG_DATA_HOME="$HOME/.local/share"
|
||||
|
||||
# Bash
|
||||
export HISTCONTROL=ignoreboth
|
||||
export HISTSIZE=1000
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue