Navigation Menu

Skip to content

Instantly share code, notes, and snippets.

@hotchpotch
Created July 30, 2020 06:38
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save hotchpotch/206468319f88f148392d2485f8b361da to your computer and use it in GitHub Desktop.
Save hotchpotch/206468319f88f148392d2485f8b361da to your computer and use it in GitHub Desktop.
# https://scrapbox.io/hotchpotch/MacOS_%E3%83%A6%E3%83%BC%E3%82%B6%E3%81%8C_Windows_%E3%81%AE%E9%96%8B%E7%99%BA%E7%92%B0%E5%A2%83%E3%82%92%E6%95%B4%E3%81%88%E3%82%8B%E3%81%BE%E3%81%A7
if (Test-Path alias:arch) { Remove-Item alias:arch }
function arch() { $input | uutils arch $args }
if (Test-Path alias:base32) { Remove-Item alias:base32 }
function base32() { $input | uutils base32 $args }
if (Test-Path alias:base64) { Remove-Item alias:base64 }
function base64() { $input | uutils base64 $args }
if (Test-Path alias:basename) { Remove-Item alias:basename }
function basename() { $input | uutils basename $args }
if (Test-Path alias:cat) { Remove-Item alias:cat }
function cat() { $input | uutils cat $args }
if (Test-Path alias:cksum) { Remove-Item alias:cksum }
function cksum() { $input | uutils cksum $args }
if (Test-Path alias:comm) { Remove-Item alias:comm }
function comm() { $input | uutils comm $args }
if (Test-Path alias:cp) { Remove-Item alias:cp }
function cp() { $input | uutils cp $args }
if (Test-Path alias:cut) { Remove-Item alias:cut }
function cut() { $input | uutils cut $args }
if (Test-Path alias:date) { Remove-Item alias:date }
function date() { $input | uutils date $args }
if (Test-Path alias:df) { Remove-Item alias:df }
function df() { $input | uutils df $args }
if (Test-Path alias:dircolors) { Remove-Item alias:dircolors }
function dircolors() { $input | uutils dircolors $args }
if (Test-Path alias:dirname) { Remove-Item alias:dirname }
function dirname() { $input | uutils dirname $args }
if (Test-Path alias:echo) { Remove-Item alias:echo }
function echo() { $input | uutils echo $args }
if (Test-Path alias:env) { Remove-Item alias:env }
function env() { $input | uutils env $args }
if (Test-Path alias:expand) { Remove-Item alias:expand }
function expand() { $input | uutils expand $args }
if (Test-Path alias:expr) { Remove-Item alias:expr }
function expr() { $input | uutils expr $args }
if (Test-Path alias:factor) { Remove-Item alias:factor }
function factor() { $input | uutils factor $args }
if (Test-Path alias:false) { Remove-Item alias:false }
function false() { $input | uutils false $args }
if (Test-Path alias:fmt) { Remove-Item alias:fmt }
function fmt() { $input | uutils fmt $args }
if (Test-Path alias:fold) { Remove-Item alias:fold }
function fold() { $input | uutils fold $args }
if (Test-Path alias:hashsum) { Remove-Item alias:hashsum }
function hashsum() { $input | uutils hashsum $args }
if (Test-Path alias:head) { Remove-Item alias:head }
function head() { $input | uutils head $args }
if (Test-Path alias:hostname) { Remove-Item alias:hostname }
function hostname() { $input | uutils hostname $args }
if (Test-Path alias:join) { Remove-Item alias:join }
function join() { $input | uutils join $args }
if (Test-Path alias:link) { Remove-Item alias:link }
function link() { $input | uutils link $args }
if (Test-Path alias:ln) { Remove-Item alias:ln }
function ln() { $input | uutils ln $args }
if (Test-Path alias:ls) { Remove-Item alias:ls }
function ls() { $input | uutils ls $args }
if (Test-Path alias:md5sum) { Remove-Item alias:md5sum }
function md5sum() { $input | uutils md5sum $args }
if (Test-Path alias:mkdir) { Remove-Item alias:mkdir }
function mkdir() { $input | uutils mkdir $args }
if (Test-Path alias:mktemp) { Remove-Item alias:mktemp }
function mktemp() { $input | uutils mktemp $args }
if (Test-Path alias:more) { Remove-Item alias:more }
function more() { $input | uutils more $args }
if (Test-Path alias:mv) { Remove-Item alias:mv }
function mv() { $input | uutils mv $args }
if (Test-Path alias:nl) { Remove-Item alias:nl }
function nl() { $input | uutils nl $args }
if (Test-Path alias:nproc) { Remove-Item alias:nproc }
function nproc() { $input | uutils nproc $args }
if (Test-Path alias:od) { Remove-Item alias:od }
function od() { $input | uutils od $args }
if (Test-Path alias:paste) { Remove-Item alias:paste }
function paste() { $input | uutils paste $args }
if (Test-Path alias:printenv) { Remove-Item alias:printenv }
function printenv() { $input | uutils printenv $args }
if (Test-Path alias:printf) { Remove-Item alias:printf }
function printf() { $input | uutils printf $args }
if (Test-Path alias:ptx) { Remove-Item alias:ptx }
function ptx() { $input | uutils ptx $args }
if (Test-Path alias:pwd) { Remove-Item alias:pwd }
function pwd() { $input | uutils pwd $args }
if (Test-Path alias:readlink) { Remove-Item alias:readlink }
function readlink() { $input | uutils readlink $args }
if (Test-Path alias:realpath) { Remove-Item alias:realpath }
function realpath() { $input | uutils realpath $args }
if (Test-Path alias:relpath) { Remove-Item alias:relpath }
function relpath() { $input | uutils relpath $args }
if (Test-Path alias:rm) { Remove-Item alias:rm }
function rm() { $input | uutils rm $args }
if (Test-Path alias:rmdir) { Remove-Item alias:rmdir }
function rmdir() { $input | uutils rmdir $args }
if (Test-Path alias:seq) { Remove-Item alias:seq }
function seq() { $input | uutils seq $args }
if (Test-Path alias:sha1sum) { Remove-Item alias:sha1sum }
function sha1sum() { $input | uutils sha1sum $args }
if (Test-Path alias:sha224sum) { Remove-Item alias:sha224sum }
function sha224sum() { $input | uutils sha224sum $args }
if (Test-Path alias:sha256sum) { Remove-Item alias:sha256sum }
function sha256sum() { $input | uutils sha256sum $args }
if (Test-Path alias:sha3-224sum) { Remove-Item alias:sha3-224sum }
function sha3-224sum() { $input | uutils sha3-224sum $args }
if (Test-Path alias:sha3-256sum) { Remove-Item alias:sha3-256sum }
function sha3-256sum() { $input | uutils sha3-256sum $args }
if (Test-Path alias:sha3-384sum) { Remove-Item alias:sha3-384sum }
function sha3-384sum() { $input | uutils sha3-384sum $args }
if (Test-Path alias:sha3-512sum) { Remove-Item alias:sha3-512sum }
function sha3-512sum() { $input | uutils sha3-512sum $args }
if (Test-Path alias:sha384sum) { Remove-Item alias:sha384sum }
function sha384sum() { $input | uutils sha384sum $args }
if (Test-Path alias:sha3sum) { Remove-Item alias:sha3sum }
function sha3sum() { $input | uutils sha3sum $args }
if (Test-Path alias:sha512sum) { Remove-Item alias:sha512sum }
function sha512sum() { $input | uutils sha512sum $args }
if (Test-Path alias:shake128sum) { Remove-Item alias:shake128sum }
function shake128sum() { $input | uutils shake128sum $args }
if (Test-Path alias:shake256sum) { Remove-Item alias:shake256sum }
function shake256sum() { $input | uutils shake256sum $args }
if (Test-Path alias:shred) { Remove-Item alias:shred }
function shred() { $input | uutils shred $args }
if (Test-Path alias:shuf) { Remove-Item alias:shuf }
function shuf() { $input | uutils shuf $args }
if (Test-Path alias:split) { Remove-Item alias:split }
function split() { $input | uutils split $args }
if (Test-Path alias:sum) { Remove-Item alias:sum }
function sum() { $input | uutils sum $args }
if (Test-Path alias:sync) { Remove-Item alias:sync }
function sync() { $input | uutils sync $args }
if (Test-Path alias:tac) { Remove-Item alias:tac }
function tac() { $input | uutils tac $args }
if (Test-Path alias:tail) { Remove-Item alias:tail }
function tail() { $input | uutils tail $args }
if (Test-Path alias:test) { Remove-Item alias:test }
function test() { $input | uutils test $args }
if (Test-Path alias:touch) { Remove-Item alias:touch }
function touch() { $input | uutils touch $args }
if (Test-Path alias:tr) { Remove-Item alias:tr }
function tr() { $input | uutils tr $args }
if (Test-Path alias:true) { Remove-Item alias:true }
function true() { $input | uutils true $args }
if (Test-Path alias:truncate) { Remove-Item alias:truncate }
function truncate() { $input | uutils truncate $args }
if (Test-Path alias:tsort) { Remove-Item alias:tsort }
function tsort() { $input | uutils tsort $args }
if (Test-Path alias:unexpand) { Remove-Item alias:unexpand }
function unexpand() { $input | uutils unexpand $args }
if (Test-Path alias:uniq) { Remove-Item alias:uniq }
function uniq() { $input | uutils uniq $args }
if (Test-Path alias:wc) { Remove-Item alias:wc }
function wc() { $input | uutils wc $args }
if (Test-Path alias:whoami) { Remove-Item alias:whoami }
function whoami() { $input | uutils whoami $args }
if (Test-Path alias:yes) { Remove-Item alias:yes }
function yes() { $input | uutils yes $args }
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment