Skip to content

Instantly share code, notes, and snippets.

@Ron-Lavi
Last active March 10, 2021 08:30
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Ron-Lavi/1e6efd1ae8be76d3671b35a9df2956fb to your computer and use it in GitHub Desktop.
Save Ron-Lavi/1e6efd1ae8be76d3671b35a9df2956fb to your computer and use it in GitHub Desktop.
# 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

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