mirror of
https://github.com/DictXiong/dotfiles.git
synced 2025-07-02 05:10:30 +08:00
add unknown command "version". available: update, force-update, reset, cd and replace tabs with spaces
This commit is contained in:
parent
61b7d11977
commit
2fb1cd6599
1
.zshrc2
1
.zshrc2
@ -82,6 +82,7 @@ dfs()
|
|||||||
case $1 in
|
case $1 in
|
||||||
update ) $DOTFILES/update.sh ;;
|
update ) $DOTFILES/update.sh ;;
|
||||||
force-update ) (cd "$DOTFILES" && git fetch --all && git reset --hard origin/main && git pull) ;;
|
force-update ) (cd "$DOTFILES" && git fetch --all && git reset --hard origin/main && git pull) ;;
|
||||||
|
version ) (cd "$DOTFILES" && git rev-parse HEAD) ;;
|
||||||
reset )
|
reset )
|
||||||
antigen reset 1> /dev/null
|
antigen reset 1> /dev/null
|
||||||
rm -rf $HOME/.antigen
|
rm -rf $HOME/.antigen
|
||||||
|
Loading…
x
Reference in New Issue
Block a user