Skip to content

Commit

Permalink
feat: add topic filter in github command in Makefile
Browse files Browse the repository at this point in the history
  • Loading branch information
YasminTeles committed Jun 10, 2024
1 parent 9525eb6 commit 0334794
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
3 changes: 2 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,8 @@ backup: ## Back up your applications list.
github: ## Clone all projects of a username at once in Github.
@echo "Please enter some information"
@read -r -p "What is the organization or user name? " owner; \
cd ~/Projects && gh repo list $$owner --limit 4000 --no-archived | while read -r repository _; do gh repo clone $$repository ; done
read -r -p "What is the topic? " topic; \
cd ~/Projects && gh repo list $$owner --limit 4000 --no-archived --topic $$topic | while read -r repository _; do gh repo clone $$repository ; done
@echo "Check the Projects folder to view all cloned projects."

check-scripts: ## Check the shell script.
Expand Down
6 changes: 3 additions & 3 deletions zsh/.zshrc
Original file line number Diff line number Diff line change
Expand Up @@ -139,14 +139,14 @@ SPACESHIP_PROMPT_ORDER=(
git # Git section (git_branch + git_status)
exec_time # Execution time
line_sep # Line break
vi_mode # Vi-mode indicator
# vi_mode # Vi-mode indicator
jobs # Background jobs indicator
exit_code # Exit code section
char # Prompt character
)
SPACESHIP_PROMPT_ADD_NEWLINE=false
SPACESHIP_CHAR_SYMBOL=""
SPACESHIP_CHAR_SUFFIX=" "
# SPACESHIP_CHAR_SYMBOL="❯"
# SPACESHIP_CHAR_SUFFIX=" "

### Git via brew configuration
export PATH="/usr/local/bin:$PATH"
Expand Down

0 comments on commit 0334794

Please sign in to comment.