Moved nginx settings to plugin.
These settings shouldn't be in the profile template, as they only make sense when used with nginx. If you're using nginx, you can enable the nginx plugin.pull/444/head
parent
07c4cb6f5e
commit
98437efb15
|
|
@ -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
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue