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
| #!/usr/bin/env bash | |
| # Author: S Firth | |
| # Created: 21/06/23 | |
| # Last modified: 28/09/23 | |
| # Version: 0.3 | |
| # Description: List files and output to file: simple list, recursive, by file type | |
| # Usage: alf [-r|h|t] | |
| echo "loaded list function" |
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
| ## prompts ## | |
| export PS1="\[\e[32m\]\W\[\e[m\] \[\e[35m\]\\$\[\e[m\] " | |
| function prompts() { | |
| printf "\n$(tput setaf 5)Choose prompt style$(tput sgr0)\n" | |
| printf "1) Directory only\n2) Git branch and directory\n3) $ only\nq) Quit\n" | |
| read choice | |
| case $choice in |
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
| #!/usr/bin/env bash | |
| #title :gulp_time_logger.sh | |
| #description :creates timelog for Gulp use | |
| #date :22/05/2023 | |
| #version :0.3 | |
| echo "$(tput setaf 4)Gulp time logger v0.3$(tput sgr0)" | |
| project_dir="" |