Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

my bash settings

branch: master

Fetching latest commit…

Cannot retrieve the latest commit at this time

README
This is basically now my bash + x settings

Ubuntu note:
  - need to install https://bitbucket.org/sjl/hg-prompt, clone and add .hgrc file to home dir.
  - sudo apt-get install vim-gtk, for clipboard support.
  - sudo apt-get install vim-nok, for ruby support, is this needed if we do vim-gtk?
  - need to install ruby1.8-dev, for compile vim command-t
  - git config --global color.ui true
  - git config --global alias.ci "commit"
  - git config --global alias.co "checkout"

To get remote linux clipboard available locally (in vim), do: http://unix.stackexchange.com/questions/35285/is-there-a-clipboard-on-non-gui-ubuntu-linux-systems-can-i-synchronize-it-wit
  - config X11 to share clipboard (need to start X11)
  - X11 forwarding (ssh -X)
  - vim with +xterm_clipboard support, check with vim --version

Tmux clipboard, need to: http://robots.thoughtbot.com/post/19398560514/how-to-copy-and-paste-with-tmux-on-mac-os-x
  - brew install reattach-to-user-namespace
  - and in .tmux.conf have: set-option -g default-command "reattach-to-user-namespace -l sh"
  - and in .vimrc have: set clipboard+=autoselect

Python virtualenv

And a very good clipboard manager:
  http://anamnesis.sourceforge.net/

Very good note taking software inspired by Notational Velocity
  https://github.com/cpbotha/nvpy

Setting up tmux remote: http://jjasonclark.com/Remote-Pairing-with-SSH-and-Tmux-on-a-Mac
  - set up account for remote
  - enable ssh log in for that account in preference Sharing
  - add the following to the end of /etc/sshd_config
    Match User remotepair
        X11Forwarding no
	AllowTcpForwarding no
	ForceCommand /usr/local/bin/tmux -S /tmp/pair attach -t workenv
  - setting up the shared Tmux session, the two ~/bin file: remotepair and pair
  - profit!
Something went wrong with that request. Please try again.