From 7c4136c55ba83086457197d328b1dfb90a92847d Mon Sep 17 00:00:00 2001 From: Andrew DeFaria Date: Mon, 21 Nov 2016 15:31:39 -0800 Subject: [PATCH] Protected a few if statements for pathnames with spaces --- rc/bash_login | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 -- 2.17.1