diff --git a/.gitignore b/.gitignore deleted file mode 100644 index cb4fce5..0000000 --- a/.gitignore +++ /dev/null @@ -1,88 +0,0 @@ -# See https://help.github.com/articles/ignoring-files/ for more about ignoring files. - -### 目录 ################################################################# - -# 通用 -.svn/ -.deploy_git/ -.idea/ -.sass-cache/ -/test/unit/coverage/ -/test/e2e/reports/ -node_modules/ -*.apk -*.min.js -*.min.css -*.min.html -*.iml -*.njsproj -*.ntvs* -*.sw* -*.sln -*.suo -.gitattributes -.umi -.umi-production -npm-debug.log* -yarn-debug.log* -yarn-error.log* -yarn.lock -selenium-debug.log -Thumbs.db -thumbs.db -_desktop.ini - -# vue-cli 项目 -/dist/ - -# 来自 vue-cli 创建项目的 .gitignore -.project - -# hexo -/public/ - -# Hardhat -/artifacts/ -/cache/ - -# seafile 临时文件 -._* - -.$* - -# office 暂存文件 -~$* - -# 用户shell配置脚本 -.bashrc_custom - -# 苹果系统临时文件 -.DS_Store - -# 安卓缓存文件夹 -.thumbnails - -# local env files -.env.local -.env.*.local - -# hexo -/db.json - -# wo -*.gitignore.* -# 服务端 -/_archive/* -/_datastore/* -/_filestore/* -/_logstore/* -/_webroot/* -/_ssl/* -# uniapp 客户端 -/unpackage/* -!/unpackage/res/ -package-lock.json -pages4loader.json5 - -# 保留 -!.gitkeep diff --git a/docker-search-tags.sh b/docker-search-tags.sh index 2f483c9..68a6e05 100755 --- a/docker-search-tags.sh +++ b/docker-search-tags.sh @@ -39,7 +39,7 @@ page_index=0 while true; do page_index=$((page_index+1)) results=`curl -L -s "https://registry.hub.docker.com/v2/repositories/$OWNER/$IMAGE/tags?page=$page_index&page_size=$page_size" | jq -r 'select(.results != null) | .results[]["name"]'` - if [ "$results" == "" ] + if [[ $? != 0 || "$results" == "" ]] then break fi diff --git a/nixhome/.bashrc b/nixhome/.bashrc index 7b64807..b40168e 100644 --- a/nixhome/.bashrc +++ b/nixhome/.bashrc @@ -51,6 +51,8 @@ alias emacst='emacs -nw' alias myip='ifconfig | grep netmask' +alias rclone='rclone -P' + # Set aliases alias grep='grep --color=auto' alias fgrep='fgrep --color=auto'