.
This commit is contained in:
parent
727a31547c
commit
6fe1bd3e0c
@ -19,7 +19,7 @@ function set_bash_prompt () {
|
|||||||
local COLOR_PATH="\033[0;37m"
|
local COLOR_PATH="\033[0;37m"
|
||||||
local COLOR_EXIT_STATUS="[\033[1;37m\033[41m"
|
local COLOR_EXIT_STATUS="[\033[1;37m\033[41m"
|
||||||
local COLOR_KUBERNETES="\033[1;37m\033[44m"
|
local COLOR_KUBERNETES="\033[1;37m\033[44m"
|
||||||
local COLOR_TODO="'\033[1;30m''\033[43m'"
|
local COLOR_TODO="\033[1;30m\033[43m"
|
||||||
local COLOR_DOTF="\033[1;37m\033[45m"
|
local COLOR_DOTF="\033[1;37m\033[45m"
|
||||||
|
|
||||||
local CURRENT_CONTEXT=""
|
local CURRENT_CONTEXT=""
|
||||||
|
10
.functions/todo.sh
Normal file
10
.functions/todo.sh
Normal file
@ -0,0 +1,10 @@
|
|||||||
|
#!/bin/bash
|
||||||
|
|
||||||
|
function t(){
|
||||||
|
todo.sh "$@"
|
||||||
|
}
|
||||||
|
|
||||||
|
function todo_status(){
|
||||||
|
NUM="$(todo.sh lsp "$1" | sed -n 's/.*TODO: \([0-9]\+\).*/\1/p')"
|
||||||
|
[[ "$NUM" -ne 0 ]] && echo "YES"
|
||||||
|
}
|
Loading…
Reference in New Issue
Block a user