diff --git a/bin/executable_daystamp b/bin/executable_daystamp new file mode 100644 index 0000000..3c043a4 --- /dev/null +++ b/bin/executable_daystamp @@ -0,0 +1,2 @@ +#!/usr/bin/env sh +date +%Y-%m-%d diff --git a/bin/executable_monthstamp b/bin/executable_monthstamp new file mode 100644 index 0000000..a71beb4 --- /dev/null +++ b/bin/executable_monthstamp @@ -0,0 +1,2 @@ +#!/usr/bin/env sh +date +%Y-%m diff --git a/bin/executable_timestamp b/bin/executable_timestamp new file mode 100644 index 0000000..bb19efc --- /dev/null +++ b/bin/executable_timestamp @@ -0,0 +1,2 @@ +#!/usr/bin/env sh +date +%Y-%m-%d-%H%M%S diff --git a/dot_zshrc.tmpl b/dot_zshrc.tmpl index 16a49f4..cda1696 100644 --- a/dot_zshrc.tmpl +++ b/dot_zshrc.tmpl @@ -90,7 +90,6 @@ kpb() { kpe ${1:-$(basename $PWD)} bash } kgc() { k get pod $(kfp) -o jsonpath="{.spec.containers[*].name}" | tr -s '[[:space:]]' '\n' } kgl() { kubectl logs -f $(kfp ${1:-$(basename $PWD)}) $(kgc|fzf) } -timestamp() { date +%Y-%m-%d-%H%M%S } letterup() { if [[ ! -a $1 ]]; then take $1;