diff options
author | Vincent Ambo <tazjin@tvl.su> | 2023-10-08T16·31+0300 |
---|---|---|
committer | clbot <clbot@tvl.fyi> | 2023-10-08T18·18+0000 |
commit | 5f32f7610abb116e68d6d3fbb57fe528100ec58b (patch) | |
tree | c80b2129ab60398ce33e5465e01fe7f5b76707bf /users/riking/dotfiles/fish/functions/gh-clone.fish | |
parent | 8b2884de095b70fa680f4c094b80ccd39c9df986 (diff) |
chore(users): remove inactive users r/6732
Change-Id: I3cfb425e4dac0a467e3917df996e9800a3ebe875 Reviewed-on: https://cl.tvl.fyi/c/depot/+/9576 Reviewed-by: isomer <isomer@tvl.fyi> Tested-by: BuildkiteCI Autosubmit: tazjin <tazjin@tvl.su>
Diffstat (limited to 'users/riking/dotfiles/fish/functions/gh-clone.fish')
-rw-r--r-- | users/riking/dotfiles/fish/functions/gh-clone.fish | 18 |
1 files changed, 0 insertions, 18 deletions
diff --git a/users/riking/dotfiles/fish/functions/gh-clone.fish b/users/riking/dotfiles/fish/functions/gh-clone.fish deleted file mode 100644 index 109ec353f6db..000000000000 --- a/users/riking/dotfiles/fish/functions/gh-clone.fish +++ /dev/null @@ -1,18 +0,0 @@ -function gh-clone --description 'Clone and CD to a github repository' - if test (count $argv) -eq 1 - set user (string split "/" -- $argv[1])[1] - set repo (string split "/" -- $argv[1])[2] - else - set user $argv[1] - set repo $argv[2] - end - - if test -d "$HOME/go/src/github.com/$user/$repo" - cd "$HOME/go/src/github.com/$user/$repo" - return 0 - end - mkdir -p "$HOME/go/src/github.com/$user" - cd "$HOME/go/src/github.com/$user" - git clone "git@github.com:$user/$repo.git" - cd "$HOME/go/src/github.com/$user/$repo" -end |