mirror of
https://github.com/DictXiong/dotfiles.git
synced 2025-07-06 08:20:30 +08:00
dfs log
This commit is contained in:
parent
589086398f
commit
3a368c07cd
9
.zshrc2
9
.zshrc2
@ -79,7 +79,7 @@ fi
|
||||
dfs()
|
||||
{
|
||||
case $1 in
|
||||
update ) $DOTFILES/update.sh ;;
|
||||
update ) "$DOTFILES/update.sh" ;;
|
||||
force-update ) (
|
||||
cd "$DOTFILES"
|
||||
git fetch --all
|
||||
@ -91,13 +91,14 @@ dfs()
|
||||
reset )
|
||||
antigen reset 1> /dev/null
|
||||
rm -rf $HOME/.antigen
|
||||
$DOTFILES/install.sh -r
|
||||
"$DOTFILES/install.sh" -r
|
||||
dfs update
|
||||
$DOTFILES/install.sh -i
|
||||
"$DOTFILES/install.sh" -i
|
||||
echo 'Done. Please open a new shell to see the changes.'
|
||||
;;
|
||||
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
|
||||
}
|
||||
|
||||
|
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