Description
The 'install' command should more gracefully modify the developer's .bashrc file. In my case, it did not add a new line before adding the two aliases, so one of the aliases was dropped onto the ending bracket of my .bashrc and and unexpected EOF was thrown when resourcing the file:
bash: /home/brandon/.bashrc: line 625: syntax error: unexpected end of file
Additionally, a simple comment about where/why these aliases were added might be nice for someone referencing their bash file, something linking back to the repo or npm package
Description The 'install' command should more gracefully modify the developer's
.bashrc
file. In my case, it did not add a new line before adding the two aliases, so one of the aliases was dropped onto the ending bracket of my.bashrc
and and unexpected EOF was thrown when resourcing the file:bash: /home/brandon/.bashrc: line 625: syntax error: unexpected end of file
}alias and-cli='npx and-cli'
alias and-cli-dev='/home/brandon/AndcultureCode.Cli/cli.js'
Additionally, a simple comment about where/why these aliases were added might be nice for someone referencing their bash file, something linking back to the repo or npm package