dotfiles

configuration files for shell, text editor, graphical environment, etc.
git clone git://src.adamsgaard.dk/dotfiles
Log | Files | Refs | README | LICENSE Back to index

commit 6c5926ef2c9dc2135e6ab69f3147f4af10be0dff
parent f30abb9418452fa48e59685bf669ff6c727e91cd
Author: Anders Damsgaard <anders.damsgaard@geo.au.dk>
Date:   Wed,  9 Mar 2016 11:43:01 -0800

fix clipboard pase, add alias for denmark date

Diffstat:
M.tmux.conf | 2+-
M.zshrc | 1+
2 files changed, 2 insertions(+), 1 deletion(-)

diff --git a/.tmux.conf b/.tmux.conf @@ -165,7 +165,7 @@ set -g message-attr bright # Linux clipboard bind C-c run "tmux save-buffer - | xclip -i -sel clipboard" -bind C-v run "tmux set-buffer \"$(xclip -o -sel clipboard)\"; tmux paste-buffer" +bind C-v run "tmux set-buffer \"$(DISPLAY=:0 xclip -o -sel clipboard)\"; tmux paste-buffer" # use urlview to follow URLs bind-key u capture-pane \; save-buffer /tmp/active_tmux_buffer \; new-window -n urlview '$SHELL -c "urlview < /tmp/active_tmux_buffer && rm /tmp/active_tmux_buffer"' diff --git a/.zshrc b/.zshrc @@ -120,6 +120,7 @@ alias lla='ls -lA' alias ipython-prof='ipython -m cProfile -s time' alias python-prof='python -m cProfile -s time' alias pipupgrade='pip freeze --local | grep -v '^\-e' | cut -d = -f 1 | xargs sudo pip install -U' +alias denmark-date='TZ=Europe/Copenhagen date' # enable color support of ls and also add handy aliases if [[ "$ARCH" != 'Darwin' ]]; then