/utilsh

Shell scripts, apps, tools, utils and misc.

Primary LanguageShellMIT LicenseMIT

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: