Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fish shell support #22

Open
Globegitter opened this issue Mar 18, 2015 · 4 comments
Open

fish shell support #22

Globegitter opened this issue Mar 18, 2015 · 4 comments
Assignees

Comments

@Globegitter
Copy link

It would be great to get https://github.com/fish-shell/fish-shell/ support. Currently getting these errors:
screen shot 2015-03-18 at 00 22 02

@therubymug
Copy link
Owner

Hello @Globegitter. I'll install fish-shell and tinker with it.

@stephenprater
Copy link

@therubymug https://github.com/therubymug/hitch/blob/master/lib/hitch/hitch.sh

This file is valid for ZSH or bash, but it isn't going to work with fish.

@therubymug therubymug self-assigned this Mar 18, 2015
@therubymug
Copy link
Owner

@Globegitter: Do you mind trying this out and see if it helps? https://github.com/edc/bass

@ezuk
Copy link

ezuk commented Oct 14, 2016

Here's my working solution:

$ cat config/fish/functions/pair.fish                                                            
function pair --description "begin pairing"
hitch  $argv[1] $argv[2]
source ~/.hitch_export_authors
end

$ cat config/fish/functions/unpair.fish                                                                
function unpair --description "end pairing"
hitch -u
set -e GIT_AUTHOR_NAME
set -e GIT_AUTHOR_EMAIL
rm ~/.hitch_export_authors
end

and in config.fish:

if test -f ~/.hitch_export_authors; source ~/.hitch_export_authors; end

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants