mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2024-11-12 08:50:08 +00:00
gitignore: add newline to gi
output (#7586)
* Add trailing new line at the end of output * Double-quote variable expansion
This commit is contained in:
parent
dddbb5c9eb
commit
befdb4649b
1 changed files with 1 additions and 1 deletions
|
@ -1,4 +1,4 @@
|
|||
function gi() { curl -fL https://www.gitignore.io/api/${(j:,:)@} }
|
||||
function gi() { curl -fLw '\n' https://www.gitignore.io/api/"${(j:,:)@}" }
|
||||
|
||||
_gitignoreio_get_command_list() {
|
||||
curl -sfL https://www.gitignore.io/api/list | tr "," "\n"
|
||||
|
|
Loading…
Reference in a new issue