forked from temporalio/edu-versioning-java-code
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.bash.cfg
More file actions
18 lines (14 loc) · 855 Bytes
/
Copy path.bash.cfg
File metadata and controls
18 lines (14 loc) · 855 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
# Avoid the 'bash: __vsc_prompt_cmd_original: command not found' error
unset PROMPT_COMMAND
# Define some handy aliases for use in GitPod
alias workspace="cd ${GITPOD_REPO_ROOT}"
alias webui="gp preview $(gp url 8080)"
# Configure a shorter, but still useful, shell prompt
export PROMPT_DIRTRIM=2
export PS1="\[\033[01;34m\]\w\[\033[00m\]\$ "
# Exercise-specific Java aliases
alias ex1="cd ${GITPOD_REPO_ROOT}/exercises/version-workflow/practice"
alias ex1s="cd ${GITPOD_REPO_ROOT}/exercises/version-workflow/solution"
alias ex1w="mvn clean compile exec:java -Dexec.mainClass='getversion.LoanProcessingWorker'"
alias ex1st="mvn clean compile exec:java -Dexec.mainClass='getversion.Starter' -Dexec.args='a100'"
alias ex1h="temporal workflow show --workflow-id=loan-processing-workflow-customer-a100 --output json > history_for_original_execution.json"