Skip to content

Commit

Permalink
feat: update README
Browse files Browse the repository at this point in the history
  • Loading branch information
juev committed May 24, 2024
1 parent 0996d26 commit a063ff6
Showing 1 changed file with 24 additions and 0 deletions.
24 changes: 24 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -40,4 +40,28 @@ We can use the output in a command like:
cd $(gclone $1)
```

### Fish shell

Personally I use these functions:

```fish
function gcd --argument repo
if test "$argv[1]" = ""
echo "argument is empty"
return
end
cd $(gclone $argv[1])
end
```

```fish
function gcode --argument repo
if test "$argv[1]" = ""
echo "argument is empty"
return
end
code $(gclone $argv[1])
end
```

Enjoy!

0 comments on commit a063ff6

Please sign in to comment.