[ Web Proxy ]
URL:
Viewing: https://raw.githubusercontent.com/gitbuda/scripts/main/workspace/scripts [Back]  [Original]

#!/bin/bash

script_directory="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
# shellcheck disable=SC1091
source "$script_directory/../workspace-util"

session_name="scripts"
# shellcheck disable=SC2154
root_directory="/home/$USER/scripts"
repo_url="git@github.com:gitbuda/scripts.git"

if [[ $# -eq 0 ]]; then
    start_session "${session_name}" "${root_directory}" \
        "code" "vim" \
        "build" "" \
        "debug" "" \
        "test" "" \
        "run" "" \
        "client" "" \
        "release" "" \
        "search" "" \
        "vcs" ""
    attach_session "${session_name}"
else
    workspace_action "$1" "${session_name}" "${script_directory}" "${root_directory}" "${repo_url}"
fi

Web Proxy Viewer  |  New URL  |  Original Page