Update functions.sh

This commit is contained in:
Jhosua Rengel
2023-12-23 22:18:40 -05:00
committed by GitHub
parent 6c07aef2d6
commit 33323265fb

View File

@@ -1,21 +1,5 @@
#!/bin/bash
function add_cursor_alias() {
# Determine the user's shell
local SHELL_NAME=$(basename "$SHELL")
# Set the appropriate configuration file
local CONFIG_PATH
if [ "$SHELL_NAME" = "bash" ]; then
CONFIG_PATH="$HOME/.bashrc"
elif [ "$SHELL_NAME" = "zsh" ]; then
CONFIG_PATH="$HOME/.zshrc"
else
echo "Unable to determine the current shell."
return 1
fi
}
function download_cursor() {
# Create the output directory if it doesn't exist
mkdir -p "$OUTPUT_DIRECTORY"