Last active
January 3, 2016 18:59
-
-
Save trigfa/8505450 to your computer and use it in GitHub Desktop.
some useful aliases for ipython and ruby
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# | |
# ~/.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