From: Andrew DeFaria Date: Mon, 21 Nov 2016 23:31:39 +0000 (-0800) Subject: Protected a few if statements for pathnames with spaces X-Git-Url: https://defaria.com/gitweb/?a=commitdiff_plain;ds=sidebyside;h=7c4136c55ba83086457197d328b1dfb90a92847d;p=clearscm.git Protected a few if statements for pathnames with spaces --- diff --git a/rc/bash_login b/rc/bash_login index 4d75a42..c8807d0 100644 --- a/rc/bash_login +++ b/rc/bash_login @@ -203,11 +203,11 @@ else export LANG=C fi -if [ $(type -p vim) ]; then +if [ "$(type -p vim)" ]; then alias vi=vim fi -if [ $(type -p ncftp) ]; then +if [ "$(type -p ncftp)" ]; then alias ftp=ncftp alias ftpput=ncftpput alias ftpget=ncftpget