From eecf1e5fda00961d0913bfcf284f2697089f16d2 Mon Sep 17 00:00:00 2001 From: "flyingscorpio@arch-desktop" Date: Thu, 19 Nov 2020 08:34:11 +0100 Subject: [PATCH] Make all occurences of SetupCockpit lowercase --- .talismanrc | 6 ++++++ dotfiles/bash/bash_profile | 2 +- dotfiles/shell/aliases | 6 +++--- dotfiles/zsh/zprofile | 2 +- pacman_hooks/borg_backup.hook | 2 +- 5 files changed, 12 insertions(+), 6 deletions(-) diff --git a/.talismanrc b/.talismanrc index 700875e..288a296 100644 --- a/.talismanrc +++ b/.talismanrc @@ -1,7 +1,13 @@ fileignoreconfig: +- filename: dotfiles/bash/bash_profile + ignore_detectors: + - filename - filename: dotfiles/shell/aliases ignore_detectors: - filename - filename: dotfiles/shell/profile ignore_detectors: - filename +- filename: pacman_hooks/borg_backup.hook + ignore_detectors: + - filename diff --git a/dotfiles/bash/bash_profile b/dotfiles/bash/bash_profile index 8360edb..3b29a65 100644 --- a/dotfiles/bash/bash_profile +++ b/dotfiles/bash/bash_profile @@ -7,4 +7,4 @@ export PATH="$PATH:$HOME/.cargo/bin" [[ -f ~/.bashrc ]] && . ~/.bashrc # Load items that are common to bash and zsh -[[ -f ~/SetupCockpit/dotfiles/shell/profile ]] && . ~/SetupCockpit/dotfiles/shell/profile +[[ -f ~/setup_cockpit/dotfiles/shell/profile ]] && . ~/setup_cockpit/dotfiles/shell/profile diff --git a/dotfiles/shell/aliases b/dotfiles/shell/aliases index d5d2367..7ce4515 100644 --- a/dotfiles/shell/aliases +++ b/dotfiles/shell/aliases @@ -3,7 +3,7 @@ # aliases common to bash and zsh # shellcheck source=../../secrets -source /home/*/SetupCockpit/secrets +source /home/*/setup_cockpit/secrets alias lime2connect='ssh $SSH_REPO' alias git-summary='~/github_misc/git-summary/git-summary' @@ -61,11 +61,11 @@ clitip() { xmlstarlet unesc | fmt -80 | iconv -t US } -GIT_REPOS=(~/.password-store ~/SetupCockpit ~/Keepass ~/TSSR ~/Lessons/* ~/PersonalScripts ~/RootMe ~/SRC/*) +GIT_REPOS=(~/.password-store ~/setup_cockpit ~/Keepass ~/TSSR ~/Lessons/* ~/personal_scripts ~/RootMe ~/SRC/*) cockpit() { # enable pass-like commands (ex: cockpit git push) local start_dir="$PWD" - cd ~/SetupCockpit && "$@" + cd ~/setup_cockpit && "$@" cd "$start_dir" && echo 'done' } diff --git a/dotfiles/zsh/zprofile b/dotfiles/zsh/zprofile index c546224..0004039 100644 --- a/dotfiles/zsh/zprofile +++ b/dotfiles/zsh/zprofile @@ -2,4 +2,4 @@ # # Load items that are common to bash and zsh -[[ -f ~/SetupCockpit/dotfiles/shell/profile ]] && source ~/SetupCockpit/dotfiles/shell/profile +[[ -f ~/setup_cockpit/dotfiles/shell/profile ]] && source ~/setup_cockpit/dotfiles/shell/profile diff --git a/pacman_hooks/borg_backup.hook b/pacman_hooks/borg_backup.hook index 5ece2ee..7542c97 100644 --- a/pacman_hooks/borg_backup.hook +++ b/pacman_hooks/borg_backup.hook @@ -8,5 +8,5 @@ Target = * [Action] Description = Borg backup When = PreTransaction -Exec = /bin/bash -c 'source /home/*/SetupCockpit/secrets && /home/*/SetupCockpit/borg_backup.sh' +Exec = /bin/bash -c 'source /home/*/setup_cockpit/secrets && /home/*/setup_cockpit/borg_backup.sh' Depends = borg