Skip to content

Commit

Permalink
zsh (on osx anyway seems to require a space before the ]]
Browse files Browse the repository at this point in the history
  • Loading branch information
bsr committed Apr 28, 2016
1 parent e1d8eb1 commit 1f9f983
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/installer.js
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,7 @@ export default class Installer {
if (this.template === 'fish') {
out.write('\n[ -f ' + filename + ' ]; and . ' + filename);
} else if (this.template === 'zsh') {
out.write('\n[[ -f ' + filename + ']] && . ' + filename);
out.write('\n[[ -f ' + filename + ' ]] && . ' + filename);
} else {
out.write('\n[ -f ' + filename + '] && . ' + filename);
}
Expand Down

0 comments on commit 1f9f983

Please sign in to comment.