all: remove tmux; ghci: remove lambda prompt

This commit is contained in:
2018-02-06 12:13:37 +01:00
parent e98c23471b
commit f5c392b9aa
5 changed files with 1 additions and 57 deletions

View File

@@ -1,4 +1,4 @@
all: bash cardinal e ghc git input python sbcli scripts tmux valgrind vim zepto zsh all: bash cardinal e ghc git input python sbcli scripts valgrind vim zepto zsh
bash: bash:
cp bash_profile ~/.bash_profile cp bash_profile ~/.bash_profile
@@ -29,10 +29,6 @@ scripts:
sbcli: sbcli:
cp -r sbclirc ~/ cp -r sbclirc ~/
tmux:
cp dev-tmux ~/dev-tmux
cp tmux.conf ~/.tmux.conf
valgrind: valgrind:
cp valgrindrc ~/.valgrindrc cp valgrindrc ~/.valgrindrc

View File

@@ -1,7 +0,0 @@
#!/bin/sh
tmux new-session -d
tmux split-window -h
tmux split-window
tmux new-window 'mutt'
tmux -2 attach-session -d
tmux select-pane -t 0

2
ghci
View File

@@ -1,5 +1,3 @@
:set prompt "λ > "
:set prompt2 "λ² > "
{- :set -Wall -} {- :set -Wall -}
:set +m :set +m

View File

@@ -1,38 +0,0 @@
bind-key Escape copy-mode
set -g status-bg blue
set -g status-fg white
set -g status-interval 60
set -g status-left-length 0
set -g status-left ''
set-window-option -g window-status-current-bg red
set -g status-right '#[default]#[fg=green]#H #[fg=white]%m/%d %I:%M%p #[default]'
set-option -g default-command /bin/zsh
set-option -g default-shell /bin/zsh
set-window-option -g mouse on
set -g terminal-overrides 'xterm*:smcup@:rmcup@'
bind m \
set -g mouse on \;\
display 'Mouse: ON'
bind M \
set -g mouse off \;\
display 'Mouse: OFF'
# Copy-paste integration
set-option -g default-command "reattach-to-user-namespace -l zsh"
# Use vim keybindings in copy mode
setw -g mode-keys vi
# Setup 'v' to begin selection as in Vim
bind-key -t vi-copy v begin-selection
bind-key -t vi-copy y copy-pipe "reattach-to-user-namespace pbcopy"
# Update default binding of `Enter` to also use copy-pipe
unbind -t vi-copy Enter
bind-key -t vi-copy Enter copy-pipe "reattach-to-user-namespace pbcopy"
# Bind ']' to use pbpaste
bind ] run "reattach-to-user-namespace pbpaste | tmux load-buffer - && tmux paste-buffer"

5
zshrc
View File

@@ -63,10 +63,6 @@ alias loc="cloc --read-lang-def=/Users/veitheller/.scripts/cloc.txt *"
alias ls="ls -a" alias ls="ls -a"
alias quit="exit" alias quit="exit"
alias clipboard_clear="echo lol | pbcopy" alias clipboard_clear="echo lol | pbcopy"
alias tmv="tmux split-window"
alias tmh="tmux split-window -h"
alias tms="tmux select-pane -t"
alias tmk="killall tmux; tmux"
PROMPT="%{$fg[red]%}%n%{$fg[white]%} at %{$fg[green]%}%m%{$fg[white]%}"$'\n'"=> " PROMPT="%{$fg[red]%}%n%{$fg[white]%} at %{$fg[green]%}%m%{$fg[white]%}"$'\n'"=> "
expand-or-complete-with-dots(){ expand-or-complete-with-dots(){
@@ -197,7 +193,6 @@ save_dotfiles(){
cp ~/.inputrc ${DOTPATH}inputrc cp ~/.inputrc ${DOTPATH}inputrc
cp ~/.pip-upgrade ${DOTPATH}pip-upgrade cp ~/.pip-upgrade ${DOTPATH}pip-upgrade
cp ~/.pythonrc ${DOTPATH}pythonrc cp ~/.pythonrc ${DOTPATH}pythonrc
cp ~/.tmux.conf ${DOTPATH}tmux.conf
cp ~/.valgrindrc ${DOTPATH}valgrindrc cp ~/.valgrindrc ${DOTPATH}valgrindrc
cp ~/.vimrc ${DOTPATH}vimrc cp ~/.vimrc ${DOTPATH}vimrc
cp ~/.zeptorc ${DOTPATH}zeptorc cp ~/.zeptorc ${DOTPATH}zeptorc