[bin] Extract helper functions into proper executables

This commit is contained in:
Sebastian Schulze 2021-07-29 12:39:34 +02:00
parent 2d027bf66f
commit 049adce89e
No known key found for this signature in database
GPG Key ID: F6BA63C6A7D3044E
4 changed files with 6 additions and 1 deletions

2
bin/executable_daystamp Normal file
View File

@ -0,0 +1,2 @@
#!/usr/bin/env sh
date +%Y-%m-%d

View File

@ -0,0 +1,2 @@
#!/usr/bin/env sh
date +%Y-%m

2
bin/executable_timestamp Normal file
View File

@ -0,0 +1,2 @@
#!/usr/bin/env sh
date +%Y-%m-%d-%H%M%S

View File

@ -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;