diff --git a/bin/aquarius-plugin b/bin/aquarius-plugin index 6ff37785..01082a21 100755 --- a/bin/aquarius-plugin +++ b/bin/aquarius-plugin @@ -4,7 +4,7 @@ remove=false # default to https plugins -ssh=false +ssh=true # Cd to public html foder cd ${PWD%/public_html*}/public_html @@ -42,6 +42,10 @@ while test $# -gt 0; do ssh=true shift ;; + --no-ssh) + ssh=false + shift + ;; aquarius-blocks|blocks) if [ "$remove" = true ]; then npm remove wp-content/plugins/aquarius-blocks @@ -112,6 +116,20 @@ while test $# -gt 0; do fi shift ;; + aquarius-projects|projects) + if [ "$remove" = true ]; then + npm remove wp-content/plugins/aquarius-slider + git-delete-submodule "wp-content/plugins/aquarius-projects" + else + if [ "$ssh" = true ]; then + git submodule add git@bitbucket.org:fellowshipproductionsltd/aquarius-projects.git wp-content/plugins/aquarius-projects + else + git submodule add https://bitbucket.org/fellowshipproductionsltd/aquarius-projects.git wp-content/plugins/aquarius-projects + fi + npm install --save wp-content/plugins/aquarius-projects + fi + shift + ;; aquarius-slider|slider) if [ "$remove" = true ]; then npm remove wp-content/plugins/aquarius-slider diff --git a/config/i3/configWork b/config/i3/configWork index b76f41f8..1673e121 100644 --- a/config/i3/configWork +++ b/config/i3/configWork @@ -164,8 +164,8 @@ bindsym $mod+control+l move workspace to output right #assign programs to workspaces -assign [class="chromium"] $workspace1 -assign [class="skypeforlinux"] $workspace10 +#assign [class="chromium"] $workspace1 +#assign [class="skypeforlinux"] $workspace10 #make applications open in floating mode for_window [class="Galculator"] floating enable diff --git a/config/oh-my-zsh/promptconfig.zsh b/config/oh-my-zsh/promptconfig.zsh index d823260c..95c40cb2 100644 --- a/config/oh-my-zsh/promptconfig.zsh +++ b/config/oh-my-zsh/promptconfig.zsh @@ -37,6 +37,7 @@ function my_dir(){ if [[ $(tput cols) -lt 100 ]]; then current_path=$(echo $current_path | sed -r -e "s/wpc\/themes\//\//") + current_path=$(echo $current_path | sed -r -e "s/wpc\/plugins\//\//") fi elif [[ -e "$ph/bin/magento" ]]; then #If magento