mirror of
https://github.com/DictXiong/dotfiles.git
synced 2024-11-24 09:17:02 +08:00
parent
5bd6d9f822
commit
83695d48fb
|
@ -26,7 +26,6 @@ if [[ "$(git rev-parse HEAD)" == "$dfs_commit" ]]; then
|
||||||
else
|
else
|
||||||
fmt_info "checking out to commit $dfs_commit ..."
|
fmt_info "checking out to commit $dfs_commit ..."
|
||||||
git -c advice.detachedHead=false checkout $dfs_commit
|
git -c advice.detachedHead=false checkout $dfs_commit
|
||||||
cp ./.update.sh ./update.sh
|
post_log "INFO" "$THIS_FILE" "will check out to commit $dfs_commit"
|
||||||
chmod +x ./update.sh
|
cp ./.update.sh ./update.sh && chmod +x ./update.sh && exit
|
||||||
post_log "INFO" "$THIS_FILE" "checked out to commit $dfs_commit"
|
|
||||||
fi
|
fi
|
||||||
|
|
9
.zshrc2
9
.zshrc2
|
@ -63,7 +63,14 @@ do
|
||||||
fi
|
fi
|
||||||
done
|
done
|
||||||
# select theme
|
# select theme
|
||||||
antigen theme ${ZSH_THEME:-ys}
|
TMP_THEME=ys
|
||||||
|
if [[ -e /.dockerenv ]]; then
|
||||||
|
TMP_THEME=blinks
|
||||||
|
echo "==========================="
|
||||||
|
echo "This is in docker container"
|
||||||
|
echo "==========================="
|
||||||
|
fi
|
||||||
|
antigen theme ${ZSH_THEME:-$TMP_THEME}
|
||||||
# apply
|
# apply
|
||||||
antigen apply
|
antigen apply
|
||||||
# end of antigen config
|
# end of antigen config
|
||||||
|
|
Loading…
Reference in New Issue
Block a user