Isolate variables
This commit is contained in:
+5
-6
@@ -10,13 +10,12 @@ set -- emacsclient -a ''
|
|||||||
|
|
||||||
# ------------------------------------------
|
# ------------------------------------------
|
||||||
|
|
||||||
# Output formatting
|
|
||||||
B=$(tput bold)
|
|
||||||
L=$(tput setf 1) # Blue
|
|
||||||
N=$(tput sgr0)
|
|
||||||
|
|
||||||
format() {
|
format() {
|
||||||
echo "${B}${L}::${N}${B} ${1}${N}"
|
b=$(tput bold)
|
||||||
|
blue=$(tput setf 1)
|
||||||
|
n=$(tput sgr0)
|
||||||
|
|
||||||
|
echo "${b}${blue}::${n}${b} ${1}${n}"
|
||||||
}
|
}
|
||||||
|
|
||||||
cleanup() {
|
cleanup() {
|
||||||
|
|||||||
Reference in New Issue
Block a user