changed terminology in rake file to actuall make sense, misc enhancements

moveTools
Adam Veldhousen 9 years ago
parent fc9f465bce
commit e1ea46e234
Signed by: adam
GPG Key ID: 6DB29003C6DD1E4B

@ -33,8 +33,7 @@ function batteryPercent(){
# a shortcut for cloning from github
# usage: clone user/repo <dir>
function clone()
{
function clone() {
if [ -z "$1" ]; then
echo "Missing git repository url ending"
echo "usage: clone 'git repository ending' ['target directory name']"

@ -54,7 +54,6 @@ set-option -g status-left ' #h | Adam Veldhousen '
#set-option -g status-right-bg green
set-option -g status-right ' tmux is rad | %A %B %d, %Y %Ts '
# copy mode
set-option buffer-limit 10
#window options

@ -256,7 +256,7 @@ let g:airline#extensions#branch#enabled = 1
" syntastic settings
let g:syntastic_always_populate_loc_list = 1
let g:syntastic_auto_loc_list = 1
" let g:syntastic_auto_loc_list = 1
let g:syntastic_check_on_open = 1
let g:syntastic_check_on_wq = 0

@ -7,14 +7,14 @@ pluginsFile = File.join(File.dirname(__FILE__), "#{vimFolder}/plugins.txt")
CLOBBER.include "#{bundles_dir}/*"
task :default => ['clobber', 'vim:install']
task :default => ['clobber', 'vim:reinstall']
namespace :vim do
directory "#{bundles_dir}"
desc "reinstalls all vim plugins from #{vimFolder}/plugins.txt"
task :install do
task :reinstall do
puts "loading plugins into #{bundles_dir}..."
lines = IO.readlines pluginsFile
puts "Loading #{lines.length} plugins..."
@ -39,8 +39,8 @@ namespace :vim do
end
desc "Loads a new plugin and adds it to #{vimFolder}/plugins.txt"
task :addPlugin, [:sourceName] do |t, args|
desc "installs a new plugin and adds it to #{vimFolder}/plugins.txt"
task :intall, [:sourceName] do |t, args|
raise "Must specify git repo to pull from." unless args.sourceName not(nil)
source = "git://github.com/#{args.sourceName}.git"
puts "Adding to #{vimFolder}/plugins.txt"

Loading…
Cancel
Save