moved executables to correct bin folder

This commit is contained in:
Wryn Wagner 2020-10-08 17:56:12 -06:00
parent 185184679c
commit 3c892c3b53
3 changed files with 5 additions and 7 deletions

View File

@ -2,5 +2,5 @@
[ ! -d "$HOME/.vim" ] && mkdir "$HOME/.vim" [ ! -d "$HOME/.vim" ] && mkdir "$HOME/.vim"
[ ! -d "$HOME/.vim/colors" ] && mkdir "$HOME/.vim/colors" [ ! -d "$HOME/.vim/colors" ] && mkdir "$HOME/.vim/colors"
for file in $(find ./ -name \*.vim); do cp $file ~/.vim/colors/; done for file in $(find "$HOME/.wryn/config/colorschemes/vim" -name \*.vim); do cp $file ~/.vim/colors/; done
echo "vim colorschemes updated" echo "vim colorschemes updated"

10
setup
View File

@ -45,9 +45,7 @@ function VIM__SETUP_ENVIRONMENT_VARIABLES() {
} }
function VIM__UPDATE_COLORSCHEMES() { function VIM__UPDATE_COLORSCHEMES() {
pushd $HOME/.wryn/config/colorschemes/vim >/dev/null $HOME/.wryn/bin/vim/update_colorschemes
./update_colorschemes
popd >/dev/null
} }
function VIM__INSTALL_VUNDLE_PLUGINS() { function VIM__INSTALL_VUNDLE_PLUGINS() {
@ -62,7 +60,7 @@ function VIM__INSTALL_VUNDLE_PLUGINS() {
vim +PluginInstall +qall; vim +PluginInstall +qall;
echo "building plugins" echo "building plugins"
$HOME/.wryn/vim/rebuild_plugins; $HOME/.wryn/bin/vim/rebuild_plugins;
} }
function VIM__SETUP() { function VIM__SETUP() {
@ -187,8 +185,8 @@ function CLEAN_BACKUP() {
case $yn in case $yn in
[Yy]* ) [Yy]* )
echo 'cleaning backup files'; echo 'cleaning backup files';
for file in $(find "$HOME/.config/" -name \*.bak 2>/dev/null); do rm $file; done for file in $(find "$HOME/.config/" -name \*.bak 2>/dev/null); do rm $file && echo cleaned $file; done
for file in $(find "$HOME" -name .\*.bak 2>/dev/null); do rm $file; done for file in $(find "$HOME" -name .\*.bak 2>/dev/null); do rm $file && echo cleaned $file; done
;; ;;
* ) echo 'skipping cleanup';; * ) echo 'skipping cleanup';;
esac esac