2 changed files with 12 additions and 8 deletions
@ -1,7 +1,13 @@
@@ -1,7 +1,13 @@
|
||||
#!/bin/bash |
||||
|
||||
# Создан: Сб 05 апр 2014 11:02:41 |
||||
# Изменён: Сб 05 апр 2014 11:11:54 |
||||
# Создан: Сб 05 апр 2014 11:02:41 |
||||
# Изменён: Чт 12 ноя 2020 19:48:04 |
||||
|
||||
printf "$green%$(echo `tput cols` - 12 | bc)s─[$yellow`\date '+%H:%M:%S'`$green]─$rstc" | sed 's/ /─/g' |
||||
rstc="\033[00m" |
||||
yellow="\033[1;33m" |
||||
green="\033[1;32m" |
||||
|
||||
COLUMNS=$(tput cols) |
||||
|
||||
printf "$green%$(( COLUMNS - 12 ))s─[$yellow%(%H:%M:%S)T$green]─$rstc" | sed 's/ /─/g' |
||||
|
||||
|
Loading…
Reference in new issue