-
Notifications
You must be signed in to change notification settings - Fork 11
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: install short alias (fzz) (#86)
- Loading branch information
1 parent
559c893
commit b16a21f
Showing
5 changed files
with
27 additions
and
8 deletions.
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,14 @@ | ||
VERSION="v1.0.1" | ||
VERSION=$(cat Cargo.toml | grep version | awk -F\" '{print $2}') | ||
|
||
echo "Installing funzzy $VERSION" | ||
|
||
cd /tmp | ||
|
||
wget https://github.com/cristianoliveira/funzzy/releases/download/$VERSION/funzzy-$VERSION-x86_64-unknown-linux-gnu.tar.gz | ||
tar -xf funzzy-$VERSION-x86_64-unknown-linux-gnu.tar.gz | ||
sudo cp funzzy /usr/local/bin | ||
|
||
echo "Application was installed in /usr/local/bin. To uninstall just do rm /usr/local/bin/funzzy" | ||
sudo cp pkg/funzzy /usr/local/bin | ||
sudo cp pkg/fzz /usr/local/bin | ||
|
||
echo "Cli was installed in /usr/local/bin/funzzy and /usr/local/bin/fzz" | ||
echo "To uninstall just run 'rm /usr/local/bin/funzzy' and 'rm /usr/local/bin/fzz'" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters