|
@@ -13,6 +13,18 @@ alias sourcevenv='source venv/bin/activate'
|
|
|
alias notify='function _notify() { osascript -e "display notification \"$1\""; }; _notify'
|
|
|
|
|
|
alias weather='curl wttr.in/beijing'
|
|
|
+alias dust1='dust -d 1'
|
|
|
+
|
|
|
+function git_tag_push() {
|
|
|
+ if [ $# -ne 2 ]; then
|
|
|
+ echo "需要两个参数: <变量1> <变量2>"
|
|
|
+ return 1
|
|
|
+ fi
|
|
|
+
|
|
|
+ git tag -a $1 -m "$2"
|
|
|
+ git push origin $1
|
|
|
+}
|
|
|
+alias git_tags='git --no-pager tag -l -n'
|
|
|
|
|
|
## k8s
|
|
|
function k8s-getnamespace() {
|