X-Git-Url: https://git.xandkar.net/?a=blobdiff_plain;f=home%2Flib%2Flogin_functions.sh;h=042ea60adc41be936604e047e0c58277bded360c;hb=84a0359e1820ee5e1ca01be040a8775edb081cb6;hp=8c0a35104731f042c61a6d489e2fbdf949092606;hpb=b7ea4f208b9b73e6602ee54f0b07be6179d70f9f;p=khome.git diff --git a/home/lib/login_functions.sh b/home/lib/login_functions.sh index 8c0a351..042ea60 100644 --- a/home/lib/login_functions.sh +++ b/home/lib/login_functions.sh @@ -224,8 +224,9 @@ man() { command man "$@" } -experiment() { - cd "$(~/bin/experiment $@)" || kill -INT $$ +# new experiment +x() { + cd "$(~/bin/x $@)" || kill -INT $$ } hump() { @@ -262,7 +263,10 @@ yt_video() { } gh_fetch_repos() { - curl "https://api.github.com/$1/$2/repos?page=1&per_page=10000" + local -r user_type="$1" + local -r user_name="$2" + + curl "https://api.github.com/$user_type/$user_name/repos?page=1&per_page=10000" } gh_clone() {