Minor fixes
parent
f70d5b846d
commit
e32bc824ca
|
@ -191,7 +191,7 @@ bindatasearch()
|
|||
return
|
||||
fi
|
||||
|
||||
if [ $(du -b Cover.jpg | awk '{print $1}') -gt 1048576 ]; then
|
||||
if [ $(wc -c Cover.jpg | cut -f1 -d' ') -gt 1048576 ]; then
|
||||
echo "[$1] file size must not exceed 1MB."
|
||||
return
|
||||
fi
|
||||
|
|
3
.zshrc
3
.zshrc
|
@ -2,7 +2,8 @@
|
|||
## Shell Config -- Master File
|
||||
################################################################################
|
||||
|
||||
readonly SHELL_CURRENT="$(ps -o command="" $$)"
|
||||
## Note that 'ps -o command= $$' gives the same result with parameters.
|
||||
readonly SHELL_CURRENT="$(ps -o comm= $$)"
|
||||
readonly SHELL_DIR="$HOME/.shell.d"
|
||||
|
||||
## .profile is sourced automatically by most login managers, but we need to
|
||||
|
|
Loading…
Reference in New Issue