[Slackdocs] newbie questions

Darren Austin lists at afterdark.org.uk
Wed Dec 17 16:56:13 CET 2014

On Wed, 17 Dec 2014, pdi wrote:
>   **''$ [[ -d $HOME/.vim/syntax ]] || mkdir -p $HOME/.vim/syntax''**

FYI, if you're using -p with mkdir, you don't need to put a 'does it already 
exist' test around it.  mkdir -p will not produce an error even if the 
directory you tell it to create already exists.

HTH :)


More information about the Slackdocs mailing list