This website works better with JavaScript.
Home
Explore
Help
Sign In
10sr
/
dotfiles-mirror
mirror of
https://github.com/10sr/dotfiles.git
Watch
1
Star
0
Fork
0
Code
Issues
0
Releases
0
Wiki
Activity
Browse Source
update scr
pull/1/head
10sr
11 years ago
parent
5e119967a6
commit
393e0ded8a
1 changed files
with
2 additions
and
1 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+2
-1
bashrc
+ 2
- 1
bashrc
View File
@@ -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} "$@"
}
Write
Preview
Loading…
Cancel
Save