mirror of
https://github.com/DictXiong/dotfiles.git
synced 2025-07-07 01:10:29 +08:00
dfs log
This commit is contained in:
parent
589086398f
commit
3a368c07cd
9
.zshrc2
9
.zshrc2
@ -79,7 +79,7 @@ fi
|
|||||||
dfs()
|
dfs()
|
||||||
{
|
{
|
||||||
case $1 in
|
case $1 in
|
||||||
update ) $DOTFILES/update.sh ;;
|
update ) "$DOTFILES/update.sh" ;;
|
||||||
force-update ) (
|
force-update ) (
|
||||||
cd "$DOTFILES"
|
cd "$DOTFILES"
|
||||||
git fetch --all
|
git fetch --all
|
||||||
@ -91,13 +91,14 @@ dfs()
|
|||||||
reset )
|
reset )
|
||||||
antigen reset 1> /dev/null
|
antigen reset 1> /dev/null
|
||||||
rm -rf $HOME/.antigen
|
rm -rf $HOME/.antigen
|
||||||
$DOTFILES/install.sh -r
|
"$DOTFILES/install.sh" -r
|
||||||
dfs update
|
dfs update
|
||||||
$DOTFILES/install.sh -i
|
"$DOTFILES/install.sh" -i
|
||||||
echo 'Done. Please open a new shell to see the changes.'
|
echo 'Done. Please open a new shell to see the changes.'
|
||||||
;;
|
;;
|
||||||
cd ) cd "$DOTFILES" ;;
|
cd ) cd "$DOTFILES" ;;
|
||||||
* ) echo "unknown command \"$1\". available: update, force-update, reset, cd" ;;
|
log ) "$DOTFILES/tools/post-log.py" "$2" ;;
|
||||||
|
* ) echo "unknown command \"$1\". available: update, force-update, version, reset, cd, log" ;;
|
||||||
esac
|
esac
|
||||||
}
|
}
|
||||||
|
|
||||||
|
0
tools/post-log.py
Normal file → Executable file
0
tools/post-log.py
Normal file → Executable file
Loading…
x
Reference in New Issue
Block a user