Turns out Linux has a shred command in /usr/bin and its purpose is to over-write files so we don't want to invoke it accidentally. So as not to cause confusion and issues we will rename ours to "shredder". Aussies are of course allowed to alias this to "shredda".
This commit is contained in:
@@ -113,10 +113,11 @@ load_config () {
|
||||
[[ -f "$FCLI_RC" ]] && . "$FCLI_RC" || show_config_help 1
|
||||
|
||||
THISDIR=$(dirname $0)
|
||||
if [ $THISDIR != '' ]; then THISDIR=. ; fi
|
||||
if [ $THISDIR == '' ]; then THISDIR=. ; fi
|
||||
PATH=$THISDIR:$PATH
|
||||
|
||||
|
||||
|
||||
# Source ShredOAuth.sh
|
||||
OAuth_sh=$(which ShredOAuth.sh)
|
||||
(( $? != 0 )) && echo 'Unable to locate ShredOAuth.sh! Make sure it is in searching PATH.' && exit 1
|
Reference in New Issue
Block a user