1
0
mirror of https://github.com/Rikj000/MoniGoMani.git synced 2022-03-06 00:08:05 +03:00

🐞 BugFixed - installer.sh shell aliasses

This commit is contained in:
Rikj000
2022-01-20 19:06:58 +00:00
committed by GitHub
parent 3e367259a0
commit ce7c127b22

View File

@@ -344,7 +344,7 @@ then
if [ "$SHELL_CONFIG" != ~/.config/fish/config.fish ]; then
echo "" >> "$SHELL_CONFIG"
echo "# MGM-Hurry shell alias" >> "$SHELL_CONFIG"
echo "mgm-hurry() { pushd "$INSTALL_DIR" &> /dev/null; python3 -m pipenv run python3 ./mgm-hurry "\$@"; popd &> /dev/null; }" >> "$SHELL_CONFIG"
echo "mgm-hurry() { pushd "$INSTALL_DIR" &> /dev/null; python3 -m pipenv run python3 ./mgm-hurry '\$@'; popd &> /dev/null; }" >> "$SHELL_CONFIG"
else
FISH_FUNCTION=~/.config/fish/functions/mgm-hurry.fish
mkdir -p ~/.config/fish/functions/; touch "$FISH_FUNCTION";