Skip to content

Commit

Permalink
chore: move make-tar/cpp.sh to tools/make-tar.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
jiangyinzuo committed Feb 6, 2024
1 parent 5daf2e6 commit 9d78f88
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 18 deletions.
18 changes: 0 additions & 18 deletions make-tar/cpp.sh

This file was deleted.

18 changes: 18 additions & 0 deletions tools/make-tar.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
#!/bin/bash
plugged_dir=~/plugged

echo '*************************************'
echo 'You can set $PLUGS variable manually.'
echo '*************************************'

if [ ! -d $plugged_dir ]; then
echo "plugged dir not found"
exit 1
fi

set -x
pushd $plugged_dir

PLUGS=${PLUGS:-"fzf LeaderF coc.nvim fzf.vim"}
tar -cf plugged.tar $PLUGS
popd

0 comments on commit 9d78f88

Please sign in to comment.