'install' command should add a new line/comment about aliases added #20
Labels
bug
Something isn't working
good first issue
Good for newcomers
hacktoberfest
Support hacktoberfest (not required to get credit)
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
The text was updated successfully, but these errors were encountered: