Make all occurences of SetupCockpit lowercase
This commit is contained in:
parent
dfcd49e9df
commit
eecf1e5fda
5 changed files with 12 additions and 6 deletions
|
@ -1,7 +1,13 @@
|
||||||
fileignoreconfig:
|
fileignoreconfig:
|
||||||
|
- filename: dotfiles/bash/bash_profile
|
||||||
|
ignore_detectors:
|
||||||
|
- filename
|
||||||
- filename: dotfiles/shell/aliases
|
- filename: dotfiles/shell/aliases
|
||||||
ignore_detectors:
|
ignore_detectors:
|
||||||
- filename
|
- filename
|
||||||
- filename: dotfiles/shell/profile
|
- filename: dotfiles/shell/profile
|
||||||
ignore_detectors:
|
ignore_detectors:
|
||||||
- filename
|
- filename
|
||||||
|
- filename: pacman_hooks/borg_backup.hook
|
||||||
|
ignore_detectors:
|
||||||
|
- filename
|
||||||
|
|
|
@ -7,4 +7,4 @@ export PATH="$PATH:$HOME/.cargo/bin"
|
||||||
[[ -f ~/.bashrc ]] && . ~/.bashrc
|
[[ -f ~/.bashrc ]] && . ~/.bashrc
|
||||||
|
|
||||||
# Load items that are common to bash and zsh
|
# 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
|
||||||
|
|
|
@ -3,7 +3,7 @@
|
||||||
# aliases common to bash and zsh
|
# aliases common to bash and zsh
|
||||||
|
|
||||||
# shellcheck source=../../secrets
|
# shellcheck source=../../secrets
|
||||||
source /home/*/SetupCockpit/secrets
|
source /home/*/setup_cockpit/secrets
|
||||||
alias lime2connect='ssh $SSH_REPO'
|
alias lime2connect='ssh $SSH_REPO'
|
||||||
alias git-summary='~/github_misc/git-summary/git-summary'
|
alias git-summary='~/github_misc/git-summary/git-summary'
|
||||||
|
|
||||||
|
@ -61,11 +61,11 @@ clitip() {
|
||||||
xmlstarlet unesc | fmt -80 | iconv -t US
|
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)
|
cockpit() { # enable pass-like commands (ex: cockpit git push)
|
||||||
local start_dir="$PWD"
|
local start_dir="$PWD"
|
||||||
cd ~/SetupCockpit && "$@"
|
cd ~/setup_cockpit && "$@"
|
||||||
cd "$start_dir" && echo 'done'
|
cd "$start_dir" && echo 'done'
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -2,4 +2,4 @@
|
||||||
#
|
#
|
||||||
|
|
||||||
# Load items that are common to bash and zsh
|
# 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
|
||||||
|
|
|
@ -8,5 +8,5 @@ Target = *
|
||||||
[Action]
|
[Action]
|
||||||
Description = Borg backup
|
Description = Borg backup
|
||||||
When = PreTransaction
|
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
|
Depends = borg
|
||||||
|
|
Loading…
Add table
Reference in a new issue