Browse Source

update scr to dump log to current dir

pull/15/head
10sr 7 years ago
parent
commit
4109e6115e
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      shrc

+ 1
- 1
shrc View File

@@ -701,7 +701,7 @@ null type dtach && alias ds=__dsession
scr(){ scr(){
test -n "$1" && pf="${1}-" test -n "$1" && pf="${1}-"
___tformat="%Y%m%d-%H%M%S%z" ___tformat="%Y%m%d-%H%M%S%z"
___file="${HOME}/${pf}`date +${___tformat}`.script"
___file="${PWD}/${pf}`date +${___tformat}`.script"
__MY_SCRIPT=${___file} script ${___file} "$@" __MY_SCRIPT=${___file} script ${___file} "$@"
} }




Loading…
Cancel
Save