Skip to content

Added (very) basic fish support #284

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

Closed
wants to merge 15 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
23 changes: 23 additions & 0 deletions .rc.fish
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
#!fish

#------------------------------------------------------------------------------
#
# This is the `git-subrepo` initialization script.
#
# This script turns on the `git-subrepo` Git subcommand and its manpages for the
# *Fish* shell.
#
# It does not currently offer TAB completion.
#
# Just add a line like this to your shell startup configuration.
# Usually found in: ~/.config/fish/config.fish
#
# source /path/to/git-subrepo/.rc.fish
#
#------------------------------------------------------------------------------

set GIT_SUBREPO_ROOT (cd (dirname (status -f)); and pwd)

# TODO: Consider using the `--universal` flag, might get rid of the need for sourcing this file on every start.
set -gx PATH $GIT_SUBREPO_ROOT/lib $PATH
set -gx MANPATH $GIT_SUBREPO_ROOT/man $MANPATH
2 changes: 1 addition & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,9 @@ language: c
branches:
only:
- master
- /^release\//

script:
- git checkout master
- GIT_COMMITTER_NAME=Bob
GIT_COMMITTER_EMAIL=bob@blob.net
GIT_AUTHOR_NAME='Bob Blob'
Expand Down
Loading