From 927c0e350b0e64233c4385fccccd24db99257851 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=2EFernando=20S=C3=A1nchez?= Date: Tue, 26 Mar 2013 05:23:43 +0100 Subject: [PATCH] Moved personal-scripts to a bin directory --- .gitmodules | 3 +++ bashrc | 6 +++--- bin | 1 + tmux.conf | 7 ++++++- zshrc | 10 ++++++---- 5 files changed, 19 insertions(+), 8 deletions(-) create mode 160000 bin diff --git a/.gitmodules b/.gitmodules index 3b4edb8..530df8f 100644 --- a/.gitmodules +++ b/.gitmodules @@ -5,3 +5,6 @@ [submodule "oh-my-zsh"] path = oh-my-zsh url = git@github.com:balkian/oh-my-zsh.git +[submodule "bin"] + path = bin + url = git://github.com/balkian/personal-scripts.git diff --git a/bashrc b/bashrc index 13bb920..35a5962 100644 --- a/bashrc +++ b/bashrc @@ -172,10 +172,10 @@ PS0="$PS0 \\[\033[1;32m\]\$(parse_git_branch)\\[\033[0m\]\$ " # export PROMPT_COMMAND="$PROMPT_COMMAND&&updateWindowTitle" #fi #[[ -s "$HOME/.rvm/scripts/rvm" ]] && source "$HOME/.rvm/scripts/rvm" # Load RVM into a shell session *as a function* -export PATH=$PATH:"/media/Data/code/personal-scripts/" -export CDPATH=$CDPATH:"/media/Data/" +export PATH="$PATH:$HOME/.bin" +export CDPATH="$CDPATH:/media/Data/" PATH=$PATH:$HOME/.rvm/bin # Add RVM to PATH for scripting ### Added by the Heroku Toolbelt -export PATH="/usr/local/heroku/bin:$PATH" +export PATH="$PATH:/usr/local/heroku/bin" diff --git a/bin b/bin new file mode 160000 index 0000000..85513e3 --- /dev/null +++ b/bin @@ -0,0 +1 @@ +Subproject commit 85513e3fd4a3822e482836dc245bfcecff10ca29 diff --git a/tmux.conf b/tmux.conf index 89095af..444886e 100644 --- a/tmux.conf +++ b/tmux.conf @@ -51,7 +51,7 @@ setw -g monitor-activity on set -g visual-activity on # Automatically set window title -setw -g automatic-rename on +setw -g automatic-rename off # Mouse and panes setw -g mode-mouse on @@ -93,3 +93,8 @@ unbind C-s # Look better # look good set -g default-terminal "screen-256color" + +# Maximise and minimise panes + +unbind m +bind m run "tmux-zoom.sh" diff --git a/zshrc b/zshrc index 404a665..771c7c4 100644 --- a/zshrc +++ b/zshrc @@ -1,4 +1,8 @@ -source ~/.starttmux +export PATH=$PATH:$HOME/.bin/ + +# Only update the path if not running interactively +[ -z "$PS1" ] && return + source ~/.starttmux # Path to your oh-my-zsh configuration. ZSH=$HOME/.oh-my-zsh @@ -40,11 +44,9 @@ source $ZSH/oh-my-zsh.sh #bindkey "^R" history-incremental-search-backward # Customize to your needs... -export PATH=/usr/lib/lightdm/lightdm:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/home/balkian/code/personal-scripts/ PYTHONSTARTUP=~/.pythonrc.py export PYTHONSTARTUP - ### Added by the Heroku Toolbelt -export PATH="/usr/local/heroku/bin:$PATH" +export PATH="$PATH:/usr/local/heroku/bin"