Skip to content

Commit

Permalink
fix(apps): fallback commands for terminal apps 🔨
Browse files Browse the repository at this point in the history
  • Loading branch information
Avivbens committed May 20, 2024
1 parent 1ea92c2 commit 6cb252e
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/commands/install/config/apps-groups/git.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import type { IAppSetup } from '@models/app-setup.model'
import { BREW_HOME, BREW_INSTALL } from '../common-commands'
import { BREW_HOME, BREW_INSTALL, BROW_INSTALL } from '../common-commands'

export const GIT_APPS: Readonly<IAppSetup[]> = [
{
Expand All @@ -9,6 +9,7 @@ export const GIT_APPS: Readonly<IAppSetup[]> = [
tags: ['engineering'],
openUrl: () => BREW_HOME('git'),
commands: () => [BREW_INSTALL('git')],
fallbackCommands: () => [BROW_INSTALL('git')],
},
{
name: 'VSCode as rebase editor',
Expand Down
3 changes: 3 additions & 0 deletions src/commands/install/config/apps-groups/terminal.ts
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@ export const TERMINAL_APPS: Readonly<IAppSetup[]> = [
tags: ['productivity'],
openUrl: () => BREW_HOME('tldr'),
commands: () => [BREW_INSTALL('tldr')],
fallbackCommands: () => [BROW_INSTALL('tldr')],
},
{
name: 'Bat',
Expand All @@ -42,6 +43,7 @@ export const TERMINAL_APPS: Readonly<IAppSetup[]> = [
tags: ['productivity'],
openUrl: () => BREW_HOME('bat'),
commands: () => [BREW_INSTALL('bat')],
fallbackCommands: () => [BROW_INSTALL('bat')],
},
{
name: 'Zoxide',
Expand All @@ -50,6 +52,7 @@ export const TERMINAL_APPS: Readonly<IAppSetup[]> = [
tags: ['productivity'],
openUrl: () => BREW_HOME('zoxide'),
commands: () => [BREW_INSTALL('zoxide')],
fallbackCommands: () => [BROW_INSTALL('zoxide')],
},
{
name: 'ZSH Terminal Syntax Highlighting',
Expand Down

0 comments on commit 6cb252e

Please sign in to comment.