Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update the gnu-utility shortcuts to match coreutils #1592

Merged
merged 1 commit into from
Jun 26, 2018
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 5 additions & 5 deletions modules/gnu-utility/init.zsh
Original file line number Diff line number Diff line change
Expand Up @@ -15,16 +15,16 @@ fi

_gnu_utility_cmds=(
# Coreutils
'[' 'base64' 'basename' 'cat' 'chcon' 'chgrp' 'chmod' 'chown'
'[' 'b2sum' 'base32' 'base64' 'basename' 'cat' 'chcon' 'chgrp' 'chmod' 'chown'
'chroot' 'cksum' 'comm' 'cp' 'csplit' 'cut' 'date' 'dd' 'df'
'dir' 'dircolors' 'dirname' 'du' 'echo' 'env' 'expand' 'expr'
'factor' 'false' 'fmt' 'fold' 'groups' 'head' 'hostid' 'id'
'install' 'join' 'kill' 'link' 'ln' 'logname' 'ls' 'md5sum'
'mkdir' 'mkfifo' 'mknod' 'mktemp' 'mv' 'nice' 'nl' 'nohup' 'nproc'
'od' 'paste' 'pathchk' 'pinee' 'pr' 'printenv' 'printf' 'ptx'
'install' 'join' 'kill' 'link' 'ln' 'logname' 'ls' 'md5sum' 'mkdir'
'mkfifo' 'mknod' 'mktemp' 'mv' 'nice' 'nl' 'nohup' 'nproc'
'numfmt' 'od' 'paste' 'pathchk' 'pinky' 'pr' 'printenv' 'printf' 'ptx'
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It looks like pinee was replaced with pinky... I can't find a reference to either of these in GNU coreutils... do you have any background info on this?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No particular background, just the list that comes from ls /usr/local/opt/coreutils/bin on mac os

~ $ ls /usr/local/opt/coreutils/bin
'g['         gdf          gjoin      gpaste       gsha512sum   gtrue
 gb2sum      gdir         gkill      gpathchk     gshred       gtruncate
 gbase32     gdircolors   glink      gpinky       gshuf        gtsort
 gbase64     gdirname     gln        gpr          gsleep       gtty
 gbasename   gdu          glogname   gprintenv    gsort        guname
 gcat        gecho        gls        gprintf      gsplit       gunexpand
 gchcon      genv         gmd5sum    gptx         gstat        guniq
 gchgrp      gexpand      gmkdir     gpwd         gstdbuf      gunlink
 gchmod      gexpr        gmkfifo    greadlink    gstty        guptime
 gchown      gfactor      gmknod     grealpath    gsum         gusers
 gchroot     gfalse       gmktemp    grm          gsync        gvdir
 gcksum      gfmt         gmv        grmdir       gtac         gwc
 gcomm       gfold        gnice      gruncon      gtail        gwho
 gcp         ggroups      gnl        gseq         gtee         gwhoami
 gcsplit     ghead        gnohup     gsha1sum     gtest        gyes
 gcut        ghostid      gnproc     gsha224sum   gtimeout     realpath
 gdate       gid          gnumfmt    gsha256sum   gtouch
 gdd         ginstall     god        gsha384sum   gtr

'pwd' 'readlink' 'realpath' 'rm' 'rmdir' 'runcon' 'seq' 'sha1sum'
'sha224sum' 'sha256sum' 'sha384sum' 'sha512sum' 'shred' 'shuf'
'sleep' 'sort' 'split' 'stat' 'stty' 'sum' 'sync' 'tac' 'tail'
'sleep' 'sort' 'split' 'stat' 'stdbuf' 'stty' 'sum' 'sync' 'tac' 'tail'
'tee' 'test' 'timeout' 'touch' 'tr' 'true' 'truncate' 'tsort'
'tty' 'uname' 'unexpand' 'uniq' 'unlink' 'uptime' 'users' 'vdir'
'wc' 'who' 'whoami' 'yes'
Expand Down