Change repo names
This commit is contained in:
parent
bc2253cb48
commit
965ccccc92
4 changed files with 6 additions and 6 deletions
|
@ -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 ~/setup_cockpit/dotfiles/shell/profile ]] && . ~/setup_cockpit/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/*/setup_cockpit/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 ~/setup_cockpit ~/Keepass ~/tssr ~/Lessons/* ~/personal_scripts ~/RootMe ~/src/*)
|
GIT_REPOS=(~/.password-store ~/setup-cockpit ~/keepass ~/tssr ~/lessons/* ~/personal-scripts ~/root-me ~/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 ~/setup_cockpit && "$@"
|
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 ~/setup_cockpit/dotfiles/shell/profile ]] && source ~/setup_cockpit/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/*/setup_cockpit/secrets && /home/*/setup_cockpit/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