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
|
||||
fmt_info "checking out to commit $dfs_commit ..."
|
||||
git -c advice.detachedHead=false checkout $dfs_commit
|
||||
cp ./.update.sh ./update.sh
|
||||
chmod +x ./update.sh
|
||||
post_log "INFO" "$THIS_FILE" "checked out to commit $dfs_commit"
|
||||
post_log "INFO" "$THIS_FILE" "will check out to commit $dfs_commit"
|
||||
cp ./.update.sh ./update.sh && chmod +x ./update.sh && exit
|
||||
fi
|
||||
|
|
9
.zshrc2
9
.zshrc2
|
@ -63,7 +63,14 @@ do
|
|||
fi
|
||||
done
|
||||
# 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
|
||||
antigen apply
|
||||
# end of antigen config
|
||||
|
|
Loading…
Reference in New Issue
Block a user