Merge pull request #95 from derekstavis/readme-remove-reload-message

Remove reload notice from installer script
This commit is contained in:
Bruno 2015-10-03 20:58:30 +01:00
commit 05f6691479

View File

@ -1,7 +1,7 @@
#!/usr/bin/env fish #!/usr/bin/env fish
# #
# USAGE # USAGE
# #1: curl -L github.com/oh-my-fish/oh-my-fish/raw/master/bin/install | fish # #1: curl -L github.com/oh-my-fish/oh-my-fish/raw/master/bin/install | fish
# #2: curl -L github.com/oh-my-fish/oh-my-fish/raw/master/bin/install > install; and fish install # #2: curl -L github.com/oh-my-fish/oh-my-fish/raw/master/bin/install > install; and fish install
# #3: env OMF_CONFIG=~/.omf curl -L github.com/oh-my-fish/oh-my-fish/raw/master/bin/install | fish # #3: env OMF_CONFIG=~/.omf curl -L github.com/oh-my-fish/oh-my-fish/raw/master/bin/install | fish
# #
@ -133,7 +133,7 @@ function main
end end
if install_omf if install_omf
report success "Installation successful! Reload your shell to start using Oh My Fish." report success "Installation successful!"
set -q CI; or exec fish < /dev/tty set -q CI; or exec fish < /dev/tty
else else
report error "Oh My Fish installation failed.\n\nIf you think that it's a bug, please open an\nissue with the complete installation log here:\n\nhttp://github.com/oh-my-fish/oh-my-fish/issues" report error "Oh My Fish installation failed.\n\nIf you think that it's a bug, please open an\nissue with the complete installation log here:\n\nhttp://github.com/oh-my-fish/oh-my-fish/issues"