[bin] Extract helper functions into proper executables
This commit is contained in:
parent
2d027bf66f
commit
049adce89e
|
@ -0,0 +1,2 @@
|
|||
#!/usr/bin/env sh
|
||||
date +%Y-%m-%d
|
|
@ -0,0 +1,2 @@
|
|||
#!/usr/bin/env sh
|
||||
date +%Y-%m
|
|
@ -0,0 +1,2 @@
|
|||
#!/usr/bin/env sh
|
||||
date +%Y-%m-%d-%H%M%S
|
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue