10sr 11 лет назад
Родитель
Сommit
393e0ded8a
1 измененных файлов: 2 добавлений и 1 удалений
  1. +2
    -1
      bashrc

+ 2
- 1
bashrc Просмотреть файл

@@ -294,8 +294,9 @@ man(){
}

scr(){
test -n "$1" && pf="${1}-"
local _tformat="%Y%m%d-%H%M%S%z"
local _file="${HOME}/`date +${_tformat}`.script"
local _file="${HOME}/${pf}`date +${_tformat}`.script"
SCRIPT=${_file} script ${_file} "$@"
}



Загрузка…
Отмена
Сохранить