Skip to content

Commit

Permalink
fix: init help message + unused comment in gh.fish
Browse files Browse the repository at this point in the history
  • Loading branch information
scottames committed Aug 16, 2024
1 parent c62120f commit 354ee71
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
1 change: 0 additions & 1 deletion home/private_dot_config/fish/custom_functions.d/gh.fish
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@ function gh \
--wraps gh

set -l _GH_AUTH_STATUS (GITHUB_TOKEN="" command gh auth status)
# set -l _KEYRING_AUTH (GITHUB_TOKEN="" command gh auth status | grep 'keyring' | grep -q '✓ Logged in')
if string match -q -r "✓ Logged in" $_GH_AUTH_STATUS
GITHUB_TOKEN="" command gh $argv
else if [ $HAS_OP ]
Expand Down
4 changes: 2 additions & 2 deletions scripts/init.sh
Original file line number Diff line number Diff line change
Expand Up @@ -35,11 +35,11 @@ if [ -x "$(command -v distrobox)" ]; then
if [ -x "$(command -v docker)" ] || [ -x "$(command -v podman)" ]; then
err "distrobox found. init from distrobox instead.
distrobox create --image registry.fedoraproject.org/fedora-toolbox:38 --name fd
distrobox create --image ghcr.io/scottames/fedora-toolbox:40 --name f
alternatively, arch: (may cause oddities with python install, etc. on fedora system)
distrobox create --image ghcr.io/scottames/arch-toolbox:latest --name at
distrobox create --image ghcr.io/scottames/arch-toolbox:latest --name a
"
fi
fi
Expand Down

0 comments on commit 354ee71

Please sign in to comment.