From 577d8becb9e60f6c49e95600e1f6d5543db21d61 Mon Sep 17 00:00:00 2001 From: Maxim Likhachev Date: Sun, 13 Apr 2014 12:49:02 +0600 Subject: [PATCH] =?UTF-8?q?bash:=20=D0=BD=D0=BE=D0=B2=D1=8B=D0=B9=20=D0=BF?= =?UTF-8?q?=D1=81=D0=B5=D0=B2=D0=B4=D0=BE=D0=BD=D0=B8=D0=BC=20=D0=B4=D0=BB?= =?UTF-8?q?=D1=8F=20date,=20=D0=BF=D0=BE=D0=B7=D0=B2=D0=BE=D0=BB=D1=8F?= =?UTF-8?q?=D1=8E=D1=89=D0=B8=D0=B9=20=D1=83=D0=BA=D0=B0=D0=B7=D0=B0=D1=82?= =?UTF-8?q?=D1=8C=20=D0=BF=D0=B0=D1=80=D0=B0=D0=BC=D0=B5=D1=82=D1=80=D1=8B?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- etc/shell/bash/aliases | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/etc/shell/bash/aliases b/etc/shell/bash/aliases index ab5a1c1..58893b2 100755 --- a/etc/shell/bash/aliases +++ b/etc/shell/bash/aliases @@ -1,6 +1,6 @@ #!/bin/bash #################################################################### # -# Изменён: Сб 12 апр 2014 11:17:39 +# Изменён: Вс 13 апр 2014 12:47:33 # Изменён: Чт. 10 апр. 2014 10:35:05 # ################################################################################ @@ -32,7 +32,6 @@ alias du='du -hs' #noindex alias free="free -m" #noindex alias wget='wget -c -T 5' #noindex alias ps="ps -aux" #noindex -alias date="command date '+%A, %B %e %Y %H:%M:%S'" #noindex alias grep='grep -E -i' #noindex alias tree="tree -CAFa" #noindex alias crontab_i="crontab $CRON" #noindex @@ -115,6 +114,11 @@ command_not_found_handle() { #noindex fi } +#- Дата +function date() { #noindex + command date ${*:-'+%A, %d %B %Y, %H:%M'} +} + #- Список функций и псевдонимов :h() { printf "$white