Skip to content
This repository has been archived by the owner on Jun 23, 2020. It is now read-only.

Commit

Permalink
Merge pull request #1 from aurelien-rainone/conf-fixes
Browse files Browse the repository at this point in the history
Conf fixes
  • Loading branch information
alexkornitzer committed Nov 20, 2016
2 parents 1bbe78b + b0cf3bd commit a03c6d2
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 2 deletions.
12 changes: 10 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,7 @@ installation directory.
* [How-to install](#how-to-install)
* [Default installation](#default-installation)
* [Installing to another location](#installing-to-another-location)
* [Configuration file](#configuration-file)
* [Font](#font)
* [Examples](#examples)
* [Documentation](#documentation)
Expand Down Expand Up @@ -105,9 +106,12 @@ sourcing `tmux-gitbar.tmux`.
**Note:** Do not include the trailing slash.


## Modifying tmux-gitbar.conf location
## Configuration file

If you prefer to store the **.tmux-gitbar.conf** somewhere other than `~/`.
**tmux-gitbar** auto-generates its own configuration file at first launch
and places it in `$HOME/.tmux-gitbar.conf`. If for whatever reasons you
would like to store it somewhere else, or rename it, just define
`$TMUX_GITBAR_CONF`.

**Add this line to your `tmux.conf`**

Expand Down Expand Up @@ -271,6 +275,9 @@ from those 2 great projects:
- [bash-git-prompt][3] an informative and fancy bash prompt for Git users.
- [tmux-git][4] a script for showing current Git branch in Tmux status bar

Contributers:
- [AlexKornitzer][7]

Other credits for :
- [tmux/tmux][1]
- [gh-md-toc][6]
Expand Down Expand Up @@ -335,3 +342,4 @@ configuration.
[4]: https://github.com/drmad/tmux-git
[5]: https://github.com/runsisi/consolas-font-for-powerline
[6]: https://github.com/ekalinin/github-markdown-toc
[7]: https://github.com/AlexKornitzer
1 change: 1 addition & 0 deletions test/integration-tests/run_integration_tests.sh
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ export TMUXCONF="$PWD/tmux.conf"
# Create a minimal tmux conf file
> "${TMUXCONF}"
echo TMUX_GITBAR_DIR=\""$PWD"\" >> "${TMUXCONF}"
echo TMUX_GITBAR_CONF=\""$PWD/tmux-gitbar.conf"\" >> "${TMUXCONF}"
echo source-file \""$PWD/tmux-gitbar.tmux"\" >> "${TMUXCONF}"

bats test/integration-tests/main.bats

0 comments on commit a03c6d2

Please sign in to comment.