Skip to content

Latest commit

 

History

History
226 lines (116 loc) · 3.22 KB

README.md

File metadata and controls

226 lines (116 loc) · 3.22 KB

bin/

Helper scripts I've collected

24bit

Show truecolor colors in terminal

8bit

Show 8-bit colors in terminal

addcert

Add a certificate

brew-repair

brew repair to hard reset and brew update

colortest

256color test script from base16-shell

dko-center

Output centered text

dko-fix-git-completion

Remove the bash completion script for git since I only want zsh to use site-functions.

dko-header

Output bordered centered text

dko-java_home

Get actual JRE home, not fake output of java_home source

dko-line

Draw a terminal-width line using =

dko-maybemkdir

Check for directory, prompt to create if it doesn't exist

dko-open

open or xdg-open

dko-same

Check if two filepaths are the same after resolving symlinks.

dko-symlink

Check if path A is symlinked to path B, prompt to do so if not.

dkosourced

Pretty print the $DKO_SOURCE env variable to see sourced files

dot

Shortcuts to update dotfiles, packages, and general system maintenance.

e

Open in single nvim socket instance or use $EDITOR

egr

Edit a file in the git root

enginx

Find and edit the nginx.conf file

ephp

Find and edit the php.ini file

flatten

Recursively flatten a directory

fs

Get directory total filesize

fu

Look upwards from $PWD for filename $1, output to stdout if found. Does not follow symlinks.

fzf-audio

macOS only, FZF + SwitchAudioSource

fzf-git-branch

FZF-interface for selecting a git branch

fzf-git-latest-branches

FZF-interface for selecting a git branch including remotes, sorted by latest

fzf-git-worktree

Switch to a different worktree using FZF

fzf-xcode

Switch to a different XCode version

get-nvim

Download nightly nvim.appimage to ~/.local/bin/

git-committers

List git committers and number of commits

git-copy-branch

Copy a git branch

git-in

Check if given directory is a git repository, and display its root and origin

git-key

Get user's ssh public keys from GitHub

git-lp

List pull requests since last tag

git-open

Use GitHub or GitLab cli tools to open current repo in browser. Fall back to dko-open if the repo origin is https.

git-sbs

Side-by-side git diff using delta as the pager. Takes regular git diff options.

git-today

Show commits since midnight

git-whats

Show git alias command

joingroup

Linux. Join a group and reload user's groups

localip

Show user's local ip

lockscreen

macOS. lock screen

maybe-git-root

Echo the git root or pwd if not in git repo

path

Pretty list path env

pokecolor

pokemon

rln

Rename a symlink's source file and update the symlink

rmtags

Delete .git/tags if it exists in a repository

serve

Start HTTP server in current directory

ssid

Get current connected ssid

steam-find-missing-lib32

Find missing steam libs in linux

steam-find-missing-lib64

Find missing steam libs in linux

termcolors

Display terminal colors

togglemousescaling

Toggle macOS mouse acceleration (e.g. for gaming)

wifi-passwords

Get current wifi password in plaintext

xcw

Open nearest *.xcworkspace