Skip to content

Commit

Permalink
Add a new font in order to keep compatibility
Browse files Browse the repository at this point in the history
It fixes #70

Bacause of the new font, some changes have to made on icons.

- Update virtualenv status icon.
- Change stash status icon.

The github icon has changed also but it's more like the old one.

This changes have to be made in order to keep showing the same status
icons when using the Sauce Code font (the new one).
  • Loading branch information
diogocavilha committed Aug 19, 2020
1 parent 1d33093 commit 497fa7f
Show file tree
Hide file tree
Showing 6 changed files with 12 additions and 7 deletions.
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,9 @@
- Add the `fancygit --disable-show-user-at-machine` command for making FancyGit not to show the the (user@machine) prompt info.
- Change the `fancygit --full-path-disable` command to `fancygit --disable-full-path` in orer to keep it organized.
- Change the `fancygit --full-path-enable` command to `fancygit --enable-full-path` in orer to keep it organized.
- Add a new font called "Sauce-Code-Pro-Nerd-Font-Complete-Windows-Compatible.ttf" in order to keep compatibility.
- Update virtualenv status icon.
- Change stash status icon.

### v6.3.0

Expand Down
3 changes: 2 additions & 1 deletion commands.sh
Original file line number Diff line number Diff line change
Expand Up @@ -74,8 +74,9 @@ fg_command_not_found() {
}

fg_install_fonts() {
mkdir ~/.fonts
mkdir -p ~/.fonts
cp -i ~/.fancy-git/fonts/SourceCodePro+Powerline+Awesome+Regular.ttf ~/.fonts
cp -i ~/.fancy-git/fonts/Sauce-Code-Pro-Nerd-Font-Complete-Windows-Compatible.ttf ~/.fonts
fc-cache -fv
}

Expand Down
6 changes: 3 additions & 3 deletions config.sh
Original file line number Diff line number Diff line change
Expand Up @@ -18,15 +18,15 @@ local working_on_venv

separator=""
branch_icon=""
is_git_repo=""
has_git_stash=" "
is_git_repo=""
has_git_stash=" "
has_untracked_files=""
is_only_local_branch=""
is_merged_branch=""
has_changed_files=""
has_added_files=""
has_unpushed_commits=""
working_on_venv=" "
working_on_venv=" "

# Git info
local branch_name
Expand Down
Binary file not shown.
6 changes: 3 additions & 3 deletions help.sh
Original file line number Diff line number Diff line change
Expand Up @@ -43,16 +43,16 @@ echo " Fancy Git v$FANCYGIT_VERSION - $fg_current_year by Diogo Alexsander Cavil
ICONS MEANING
= The current directory is a git repository.
= The current directory is a git repository.
 = There are untracked files.
 = There are modified files.
 = There are added files waiting to be committed.
= There are stashes.
= There are stashes.
 = There are commits waiting to be pushed.
 = Branch icon.
 = Current branch exists only locally.
 = Current branch has been merged into master branch.
= You are working on a Python virtual environment.
= You are working on a Python virtual environment.
ICONS MEANING FOR SIMPLE STYLE
Expand Down
1 change: 1 addition & 0 deletions install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -42,4 +42,5 @@ fi

mkdir -p ~/.fonts
cp -i ~/.fancy-git/fonts/SourceCodePro+Powerline+Awesome+Regular.ttf ~/.fonts
cp -i ~/.fancy-git/fonts/Sauce-Code-Pro-Nerd-Font-Complete-Windows-Compatible.ttf ~/.fonts
fc-cache -fv

0 comments on commit 497fa7f

Please sign in to comment.