Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(shell): add symlink to rocktree "/rocktree" #402

Merged
merged 1 commit into from
May 24, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -819,6 +819,9 @@ The result should be a new PR on the Pongo repo.
* Feat: the 'kms' alias will now confirm importing a file if found
[#393](https://github.com/Kong/kong-pongo/pull/393).

* Feat: in a shell, add symlink `/rockstree` pointing to the LuaRocks tree
[#402](https://github.com/Kong/kong-pongo/pull/402).

---

## 2.6.0 released 23-Mar-2023
Expand Down
4 changes: 4 additions & 0 deletions assets/pongo_profile.sh
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,10 @@ alias kdbl='/pongo/kong_start_dbless.sh'
alias kx='/pongo/kong_export.sh'
alias kauth='. /pongo/kong_setup_auth.sh'

if [ -d /usr/local/share/lua/5.1/ ]; then
ln -s /usr/local/share/lua/5.1/ /rockstree
fi

# We want this to output without expanding variables
# shellcheck disable=SC2016
echo 'PS1="\[\e[00m\]\[\033[1;34m\][$PS1_KONG_VERSION:\[\e[91m\]$PS1_REPO_NAME\$(/pongo/parse_git_branch.sh)\[\033[1;34m\]:\[\033[1;92m\]\w\[\033[1;34m\]]$\[\033[00m\] "' >> /root/.bashrc
Expand Down