Skip to content

Commit

Permalink
docs: Add wrap for pip function in fishshell
Browse files Browse the repository at this point in the history
Now pip function mimic command pip exactly
Add correct markdown ref for fish commands
  • Loading branch information
RCristiano committed Jan 15, 2022
1 parent ebd0372 commit 512eb60
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,15 +25,15 @@ alias pip='function _pip(){

For fish users, run on fish shell:

```sh
function pip
```fish
function pip --wraps="pip"
set command $argv[1]
set -e argv[1]
switch "$command"
case 'search'
pip_search $argv
case '*'
command pip "$command" $argv
command pip $command $argv
end
end
Expand Down

0 comments on commit 512eb60

Please sign in to comment.