Merge pull request #444 from nwinkler/nginx-move

Moved nginx settings to plugin.
pull/446/head
Nils Winkler 2015-03-30 13:18:58 +02:00
commit 332d06e734
2 changed files with 6 additions and 8 deletions

View File

@ -1,6 +1,12 @@
cite about-plugin cite about-plugin
about-plugin 'manage your nginx service' about-plugin 'manage your nginx service'
# Set the path nginx
export NGINX_PATH='/opt/nginx'
# Add nginx to the path
export PATH=$PATH:$NGINX_PATH/sbin
function nginx_reload() { function nginx_reload() {
about 'reload your nginx config' about 'reload your nginx config'
group 'nginx' group 'nginx'

View File

@ -1,10 +1,5 @@
#!/usr/bin/env bash #!/usr/bin/env bash
# Add nginx to the path
PATH=$PATH:/opt/nginx/sbin
export PATH
# Path to the bash it configuration # Path to the bash it configuration
export BASH_IT=$HOME/.bash_it export BASH_IT=$HOME/.bash_it
@ -15,9 +10,6 @@ export BASH_IT_THEME='bobby'
# Your place for hosting Git repos. I use this for private repos. # Your place for hosting Git repos. I use this for private repos.
export GIT_HOSTING='git@git.domain.com' export GIT_HOSTING='git@git.domain.com'
# Set the path nginx
export NGINX_PATH='/opt/nginx'
# Don't check mail when opening terminal. # Don't check mail when opening terminal.
unset MAILCHECK unset MAILCHECK