Skip to content

raulanatol/utilsh

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Utilsh

Shell scripts, apps, tools, utils and misc


Table of Contents

Install

bash <(curl -s https://raw.githubusercontent.com/raulanatol/utilsh/main/installer)

Manual Install

  • Clone this repository

  • Create the tools env variable

utilsh_PATH=..../REPOSITORY_BASE_DIR
utilsh_PATH=~/utils/utilsh
  • Use me!
./$UTILSH_PATH/help

Update

./$UTILSH_PATH/src/update

List of tools

code

doctoc: Generates table of contents for markdown files inside local git repository DocToc

grex: Grex is a command-line tool and library for generating regular expressions grex

📦  new_finish_release: Generate the initial finish-release file in your project

😇  new_makefile: Generate the initial makefile in your project

👩‍💻  tokei: Tokei is a program that displays statistics about your code using tokei


docker

🔌  connect: execute a ssh command over a running container

🐳  ctop: Top-like interface for container metrics (using ctop)

🐳  lazydocker: A simple terminal UI for both docker and docker-compose, written in Go with the gocui library. (using lazydocker)


fs

🗃  diskonaut: Terminal disk space navigator (using diskonaut)

⚖  folder_size: Calculate the current folder size (using du or ncdu)


git

🔖  commit: Add all files and then a commit

🧹  delete-merged: Delete all branches that have been merged in remote

🔧  fix: Fix the current branch and create a Pull Request (use with start-issue)

🕴  jump: Git Branches Helper using git-jump

💄  pretty-diff: Show a pretty git diff using fzf (and copy selected path to the clipboard)

🖲  pretty-log: Git log filtering

🚩  start-issue: Create a branch with the format issue_$PARAM1 (useful with fix)

🍥  ui: Git terminal ui using gitui


Github

🎃  actions: Open the github actions page of the current project

🧲  create_workflow: Generate a Github Workflow file in your project

🖤  to-main: Move github default branch from master to main

🚀  trigger-action: Launch an action manually


irvue

🖼  change: Change the current wallpaper using Irvue app


iterm2

🏷  set_tab_title: Change the current tab (iterm2) title

🏷  set_window_title: Change the current window (iterm2) title


js

🛁  autarky: Liberating disk space from node_modules using autarky


mac

🥶  bluetooth: On/Off bluetooth using blueutil

🚀  browser_goto: Select between the opened chrome tabs using choose

🙈  hidden_files: Show/Hide hidden files

🔇  not_disturb: Enter/Exit not disturb mode

📶  wifi:

  • On/Off Wifi
  • dhcp: Renew DHCP Lease
  • password: Get password of the current wifi

🥵  powermetrics: Show the temperature

📟  zoom:

  • start: Start your personal meeting

network

📡  ip: Get the local (-l) or public ip

🔌  ports: List of used ports

🐌  speed: Internet connection speed test using fast-cli

🏹  fetch: Http request using httpie

🧪️  usage: Monitoring the current network utilization by process, connection and remote IP/hostname using bandwhich


Self scripts (self)

🤳  update: Update utilsh repo


Shell scripts and utils (shell)

🔶  args: Arguments control

⁉️  assert: Assertion methods

👩‍💻  development: Scripts related with development

🏷  increase_semversion: Generate the next version based on Semantic Versioning ( major|minor|patch)

📜  docs: script documentation scripts

🎋  git: Git scripts, get current branch, etc.

👾  os: OS shell utils

📈  performance: Evaluate the zsh starting time.

🎨  sout: Console out functions

💹  string: String manipulation scripts


Slack scripts

✅  active: Slack active status

👻  away: Slack away status

🔇  snooze: Slack snooze actions

📝  status: Slack set status


Completion

_dot contains the completion script with all the tools

More info: