new repository without sensitive information
This commit is contained in:
commit
57fa0afede
51 changed files with 1883 additions and 0 deletions
33
aliases/todo
Normal file
33
aliases/todo
Normal file
|
@ -0,0 +1,33 @@
|
|||
TODOGIT="$HOME/.git/"
|
||||
|
||||
.todo-git() {
|
||||
if [[ "${PWD}" == "${HOME}" ]]; then
|
||||
git --git-dir=$TODOGIT stash save todohomegit
|
||||
fi
|
||||
|
||||
$*
|
||||
|
||||
if [[ "${PWD}" == "${HOME}" ]]; then
|
||||
git --git-dir=$TODOGIT add .todo
|
||||
git --git-dir=$TODOGIT commit -m todo
|
||||
git --git-dir=$TODOGIT stash pop `git --git-dir=$TODOGIT stash list \
|
||||
| grep todohomegit | grep -oe "^[^:]*"`
|
||||
fi
|
||||
}
|
||||
|
||||
tda() {
|
||||
.todo-git =tda $*
|
||||
}
|
||||
|
||||
tde() {
|
||||
.todo-git =tde $*
|
||||
}
|
||||
|
||||
tdr() {
|
||||
.todo-git =tdr $*
|
||||
}
|
||||
|
||||
tdd() {
|
||||
.todo-git =tdd $*
|
||||
}
|
||||
|
Loading…
Add table
Add a link
Reference in a new issue