Last active
May 16, 2020 00:27
-
-
Save danielbayley/3910c3b392c53e857613db3bb68c46f5 to your computer and use it in GitHub Desktop.
Revisions
-
danielbayley revised this gist
May 16, 2020 . No changes.There are no files selected for viewing
-
danielbayley revised this gist
May 16, 2020 . No changes.There are no files selected for viewing
-
danielbayley renamed this gist
Jul 6, 2019 . 1 changed file with 0 additions and 0 deletions.There are no files selected for viewing
File renamed without changes. -
danielbayley revised this gist
Jun 27, 2017 . No changes.There are no files selected for viewing
-
danielbayley revised this gist
Jun 19, 2017 . 1 changed file with 4 additions and 3 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -1,10 +1,11 @@ #! /bin/zsh -f alias vm=anka if (which -s anka) vm () { set -- ${${@/ls/list}/-h*/--help} case $@ in view*) command anka start ${@:2} && command anka $@;; l*s*img*) command anka "list${=*/*img/-images}";; reg*) command anka registry ${@:2};; *) command anka $@;; esac } -
danielbayley revised this gist
Jun 19, 2017 . 1 changed file with 0 additions and 1 deletion.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -1,5 +1,4 @@ #! /bin/zsh -f alias vm=anka if (which -s anka) anka () { case $@ in -
danielbayley created this gist
Jun 19, 2017 .There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,11 @@ #! /bin/zsh -f alias vm=anka if (which -s anka) anka () { case $@ in view*) command anka start ${@:2} && command anka $@;; ls*) command anka list${${@/ls/}/*img/-images};; reg*) command anka registry ${${@:2}/ls/list};; *) command anka $@;; esac }