This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/bin/bash | |
| # Colors | |
| RED='\033[0;31m' | |
| GREEN='\033[0;32m' | |
| NO_COLOR='\033[0m' | |
| BLUE='\033[0;34m' | |
| YELLOW='\033[0;33m' | |
| NO_COLOR='\033[0m' |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # Updates the | |
| # 1 git version tag, | |
| # 2 project/__init__.py __version__ attribute and | |
| # 3 tests/test_project.py | |
| # 4 pushes the chanes, new tags to remote | |
| # The script makes sure that the new tag is semver2.0 compliant and checks if the new | |
| # version is higher than the latest tag on remote. | |
| # | |
| # To use this, replace the remote URI and the `project` `test_project.py` hardcoded names. | |
| # |
via (https://www.linux.com/learn/tutorials/442438-vim-tips-folding-fun)
zf#jcreates a fold from the cursor down # lines.zf/stringcreates a fold from the cursor to string .zjmoves the cursor to the next fold.zkmoves the cursor to the previous fold.zoopens a fold at the cursor.zOopens all folds at the cursor.zmincreases the foldlevel by one.zMcloses all open folds.