Skip to content

Commit

Permalink
feat(shell): add symlink to rockstree "/rockstree" (#402)
Browse files Browse the repository at this point in the history
  • Loading branch information
Tieske committed May 24, 2023
1 parent a268157 commit ff5b11d
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
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

0 comments on commit ff5b11d

Please sign in to comment.