Skip to content

Commit

Permalink
Merge branch 'master' into flatpak-spawn
Browse files Browse the repository at this point in the history
  • Loading branch information
joshua-stone authored May 25, 2023
2 parents 2710b22 + c626b60 commit 9f6300c
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -61,10 +61,10 @@ A git repo can also be set up by running the following:
$ flatpak run --command=gh md.obsidian.Obsidian auth setup-git
```

The `gh` binary can resolve to `/app/bin/gh` in `~/.gitconfig` after running `gh auth setup-git` in flatpak, which may be problematic if `gh` is needed outside of flatpak. This can be worked around like so:
The `gh` binary can resolve to `/app/bin/gh` in `~/.gitconfig` after running `gh auth setup-git` in flatpak, [which may be problematic if `gh` is needed outside of flatpak](https://github.com/cli/cli/issues/7420). This can be worked around like so:

```
$ sed -i 's@/app/bin/@/usr/bin/@g' ~/.gitconfig
$ sed -i 's@/app/bin/@@g' ~/.gitconfig
```

## Middle-click auto-scrolling
Expand Down
1 change: 1 addition & 0 deletions md.obsidian.Obsidian.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ finish-args:
- --share=ipc
- --persist=~/.ssh
- --env=SSH_ASKPASS=/app/libexec/openssh/ssh-askpass
- --env=GH_PATH=gh
- --env=OBSIDIAN_USE_WAYLAND=0
- --env=OBSIDIAN_DISABLE_GPU=0
- --env=OBSIDIAN_DISABLE_GPU_SANDBOX=0
Expand Down

0 comments on commit 9f6300c

Please sign in to comment.