From d5b2fedf336e41566be04233eec1db3d603cbbe4 Mon Sep 17 00:00:00 2001 From: Sonny Date: Wed, 18 Jul 2018 07:59:10 +0200 Subject: [PATCH] Add ctags creation script --- scripts/create_tags | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100755 scripts/create_tags diff --git a/scripts/create_tags b/scripts/create_tags new file mode 100755 index 0000000..6737ba9 --- /dev/null +++ b/scripts/create_tags @@ -0,0 +1,6 @@ +#!/bin/bash +# Create ctags from the current dir and the same dir in the .virtualenvs folder + +PROJECT_NAME=$(basename $PWD) +ctags -R $PWD $HOME/.virtualenvs/$PROJECT_NAME +mkdir -p $HOME/.tags && mv ./tags $HOME/.tags/$PROJECT_NAME