diff --git a/.bashrc b/.bashrc index 8f7781f..b40be53 100644 --- a/.bashrc +++ b/.bashrc @@ -264,6 +264,7 @@ alias more="less" alias disclaimer="clear; now; zet view disclaimer" alias main="obs scene Main" alias tight="obs scene Closeup" +alias pixel="scrcpy -t -s 1A141FDF600AJ4" _have vim && alias vi=vim @@ -348,6 +349,7 @@ _have goreleaser && . <(goreleaser completion bash 2>/dev/null) _have klogin && . <(klogin completion bash 2>/dev/null) _have pandoc && . <(pandoc --bash-completion) _have kubectl && . <(kubectl completion bash 2>/dev/null) +_have istioctl && . <(istioctl completion bash 2>/dev/null) #_have clusterctl && . <(clusterctl completion bash) _have k && complete -o default -F __start_kubectl k _have kind && . <(kind completion bash) diff --git a/scripts/cal b/scripts/cal index 2711856..f37dd25 100755 --- a/scripts/cal +++ b/scripts/cal @@ -1,2 +1,2 @@ #!/bin/sh -exec ncal -C -3 +exec ncal -C -3 diff --git a/scripts/hnow b/scripts/hnow index 5caaf6c..487f269 100755 --- a/scripts/hnow +++ b/scripts/hnow @@ -1,2 +1,2 @@ #!/usr/bin/env bash -echo "***$(now)***" +echo "## $(now)" diff --git a/scripts/lh b/scripts/lh index 43ca15b..08c627d 100755 --- a/scripts/lh +++ b/scripts/lh @@ -1,7 +1,7 @@ #!/usr/bin/env bash while read -r line;do - [[ $line =~ ^##\ [^\ ] ]] && echo "* ${line#*# }" + [[ $line =~ ^##+\ [^\ ] ]] && echo "* ${line#*# }" done < "$1" exit 0