Inserted newline after gittowork
parent
454bbd8d74
commit
478e8ddb1b
|
|
@ -4,7 +4,7 @@ about-plugin 'Downloads the latest .gitignore file by project type'
|
|||
function gittowork() {
|
||||
about 'Places the latest .gitignore file for a given project type in the current directory, or concatenates onto an existing .gitignore'
|
||||
group 'git'
|
||||
|
||||
|
||||
result=$(curl -L "Https://www.gitignore.io/api/$1" 2>/dev/null)
|
||||
|
||||
if [[ $result =~ ERROR ]]; then
|
||||
|
|
@ -20,4 +20,4 @@ function gittowork() {
|
|||
echo "$result" > .gitignore
|
||||
fi
|
||||
fi
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue