Add ctags creation script

This commit is contained in:
Sonny 2018-07-18 07:59:10 +02:00
parent eb12ff9328
commit d5b2fedf33

6
scripts/create_tags Executable file
View file

@ -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