Merge pull request #444 from nwinkler/nginx-move
Moved nginx settings to plugin.
This commit is contained in:
@@ -1,6 +1,12 @@
|
||||
cite about-plugin
|
||||
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() {
|
||||
about 'reload your nginx config'
|
||||
group 'nginx'
|
||||
|
||||
@@ -1,10 +1,5 @@
|
||||
#!/usr/bin/env bash
|
||||
|
||||
# Add nginx to the path
|
||||
PATH=$PATH:/opt/nginx/sbin
|
||||
|
||||
export PATH
|
||||
|
||||
# Path to the bash it configuration
|
||||
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.
|
||||
export GIT_HOSTING='git@git.domain.com'
|
||||
|
||||
# Set the path nginx
|
||||
export NGINX_PATH='/opt/nginx'
|
||||
|
||||
# Don't check mail when opening terminal.
|
||||
unset MAILCHECK
|
||||
|
||||
|
||||
Reference in New Issue
Block a user