From df24f5dc5d9ebed609cb949c5e7ec55da529a72e Mon Sep 17 00:00:00 2001 From: Jonathan Hodgson Date: Mon, 19 Mar 2018 08:16:49 +0000 Subject: [PATCH] update config --- bin/cups | 3 --- bin/updatePlugin | 6 ++++++ config/vim | 2 +- zsh-pre-oh-my-zsh | 3 ++- 4 files changed, 9 insertions(+), 5 deletions(-) delete mode 100755 bin/cups create mode 100644 bin/updatePlugin diff --git a/bin/cups b/bin/cups deleted file mode 100755 index 1798883b..00000000 --- a/bin/cups +++ /dev/null @@ -1,3 +0,0 @@ -#!/usr/bin/sh -echo $(whoami) -#systemctl start org.cups.cupsd.service diff --git a/bin/updatePlugin b/bin/updatePlugin new file mode 100644 index 00000000..bc8bbb1b --- /dev/null +++ b/bin/updatePlugin @@ -0,0 +1,6 @@ +plugin=$(wp plugin list 2> /dev/null | grep available | head -n 1 | awk '{print $1}') +echo "$plugin" +versions=$(wp plugin update $plugin 2> /dev/null | tail -n 2 | head -n 1 | awk '{print $2 "->" $3}') +echo "$versions" +git add . +git commit -m "Update $plugin $version" diff --git a/config/vim b/config/vim index ae88b114..f1e211ac 160000 --- a/config/vim +++ b/config/vim @@ -1 +1 @@ -Subproject commit ae88b1140ad3e61e9dc2aaea9bdbcee0efc928e0 +Subproject commit f1e211ac3c6c4d4f877965acf3fbc37755f57673 diff --git a/zsh-pre-oh-my-zsh b/zsh-pre-oh-my-zsh index 65aedcee..5a44d6c4 100644 --- a/zsh-pre-oh-my-zsh +++ b/zsh-pre-oh-my-zsh @@ -5,7 +5,8 @@ HISTFILE=~/.histfile HISTSIZE=1000 SAVEHIST=1000 -#bindkey -v +bindkey -v +bindkey jj vi-cmd-mode # End of lines configured by zsh-newuser-install # The following lines were added by compinstall zstyle :compinstall filename '/home/jonathan/.zshrc'