Skip to content

Instantly share code, notes, and snippets.

@trigfa
Last active January 3, 2016 18:59
Show Gist options
  • Save trigfa/8505450 to your computer and use it in GitHub Desktop.
Save trigfa/8505450 to your computer and use it in GitHub Desktop.
some useful aliases for ipython and ruby
#
# ~/.bashrc
#
# If not running interactively, don't do anything
[[ $- != *i* ]] && return
alias designer='designer -qt=4'
alias python='python2'
alias ipython='ipython2'
alias nb='ipython2 notebook'
alias qtcon='ipython2 qtconsole'
alias ls='ls --color=auto'
alias ssh="TERM=linux ssh"
PS1='[\u@\h \W]\$ '
PATH="$(ruby -e 'puts Gem.user_dir')/bin:$PATH"
export GEM_HOME=$(ruby -e 'puts Gem.user_dir')
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment