Skip to content
This repository has been archived by the owner on Jul 16, 2024. It is now read-only.

Commit

Permalink
Add alias to bashrc
Browse files Browse the repository at this point in the history
  • Loading branch information
Xuebin Su committed Oct 25, 2023
1 parent e3b1d2f commit 35eb2f1
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion concourse/test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,8 @@ function _main() {

source "$CI_REPO_DIR/common/entry_common.sh"
sudo passwd --delete gpadmin # for `su gpadmin` in start_gpdb
alias su='sudo su'
echo 'alias su="sudo su"' >> "$HOME/.bashrc"
source "$HOME/.bashrc" # for gpdemo-env.sh
start_gpdb
source "$HOME/.bashrc" # for gpdemo-env.sh

Expand Down

0 comments on commit 35eb2f1

Please sign in to comment.