mirror of
https://github.com/tj/git-extras.git
synced 2026-09-10 07:26:17 -04:00
Remove redundant \n in tr
This commit is contained in:
parent
fed97bf8db
commit
6073594656
|
|
@ -3,7 +3,7 @@
|
|||
gitignore_io_url="https://www.gitignore.io/api/"
|
||||
|
||||
default_path="$HOME/.gi_list"
|
||||
gi_list=`cat $default_path | tr "," "\n\n"`
|
||||
gi_list=`cat $default_path | tr "," "\n"`
|
||||
|
||||
update_gi_list() {
|
||||
curl -L -s "${gitignore_io_url}/list" > ~/.gi_list
|
||||
|
|
|
|||
Loading…
Reference in a new issue