Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
# User specific aliases and functions
alias start="bundle exec foreman s"
alias railsc="bundle exec rails c"
alias migrate="bundle exec rake db:migrate"
alias seed="bundle exec rake db:seed"
alias rubocop="bundle exec rake foreman_rh_cloud:rubocop"
alias 3808="fuser -k 3808/tcp"
alias 3000="fuser -k 3000/tcp"
alias restart="sudo foreman-maintain service restart"
alias rhpr='function _rhpr(){ cd foreman_rh_cloud; hub pr checkout "$@"; };_rhpr'
alias rhs="cd ../foreman && start"
@Ron-Lavi
Copy link
Author

Ron-Lavi commented Mar 19, 2020

for fuser:

  • sudo yum install psmisc -y

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment