Skip to content

Commit

Permalink
chore(just): make aliases into recipes to get autocompletion
Browse files Browse the repository at this point in the history
  • Loading branch information
tulilirockz committed Nov 10, 2024
1 parent 2975a1b commit 170d8da
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 6 deletions.
9 changes: 6 additions & 3 deletions just/bluefin-apps.just
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,8 @@
# fix- = apply fix/patch/workaround for something
# foo = no verb is used for shortcuts or something deemed important enough to use a super memorable name

alias cockpit := setup-cockpit
cockpit:
@ujust setup-cockpit

# Enable Cockpit for web-based system management | https://cockpit-project.org/
setup-cockpit ACTION="":
Expand Down Expand Up @@ -66,7 +67,8 @@ setup-cockpit ACTION="":
echo "Cockpit has been ${b}${red}disabled${n}"
fi
alias jetbrains-toolbox := install-jetbrains-toolbox
jetbrains-toolbox:
@ujust install-jetbrains-toolbox

# Install JetBrains Toolbox | https://www.jetbrains.com/toolbox-app/
install-jetbrains-toolbox:
Expand All @@ -86,7 +88,8 @@ install-jetbrains-toolbox:
echo "Launching JetBrains Toolbox"
./jetbrains-toolbox-"${BUILD_VERSION}"/jetbrains-toolbox
alias incus := install-incus
incus:
@ujust install-incus

# Install and configure Incus
install-incus:
Expand Down
13 changes: 10 additions & 3 deletions just/bluefin-system.just
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,8 @@ devmode:
fi
fi
alias gnome-vrr := toggle-gnome-vrr
gnome-vrr:
@ujust toggle-gnome-vrr

# Enable or Disable Gnome-VRR
toggle-gnome-vrr:
Expand Down Expand Up @@ -253,8 +254,14 @@ install-system-flatpaks:
configure-grub:
@/usr/libexec/configure-grub.sh

alias rollback-helper := rebase-helper
alias switch-channel := rebase-helper
switch-channel:
@ujust rebase-helper

switch-channels:
@ujust rebase-helper

rollback-helper:
@ujust rebase-helper

# Rebase assistant
rebase-helper:
Expand Down

0 comments on commit 170d8da

Please sign in to comment.