Skip to content

Commit 9de4011

Browse files
committed
Remove tmuxinator, persistent zsh/vim history
1 parent 70f4841 commit 9de4011

File tree

4 files changed

+1
-41
lines changed

4 files changed

+1
-41
lines changed

.gitignore

-1
This file was deleted.

install

+1-21
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ pushd $(pwd)/$(dirname $0) > /dev/null && SRC=$(pwd) && popd > /dev/null
66
pushd "$SRC" > /dev/null # work in the directory the script is in
77

88
# All of the simple thing that need a simple link
9-
LINK="tmux.conf zshrc zshenv vimrc gitignore_global tmuxinator"
9+
LINK="tmux.conf zshrc zshenv vimrc gitignore_global"
1010
for f in $LINK; do
1111
if [ -e "$HOME/.$f" ]; then
1212
if [[ $* == *--overwrite* ]]; then
@@ -44,24 +44,4 @@ else
4444
echo "[ gitconfig ] gitconfig exists – skipping"
4545
fi
4646

47-
# set up folder for our persistent vim logs
48-
echo "[ logs ] creating and setting permissions on log directories"
49-
mkdir -p "$HOME/.logs/vim-undodir"
50-
51-
if grep "sqlite-history" "$HOME/.profile" > /dev/null; then
52-
echo "[ zsh ] sqlite3 already installed"
53-
else
54-
echo "[ zsh ] installing sqlite3 hook"
55-
56-
git clone -q "https://github.com/larkery/zsh-histdb.git"
57-
58-
echo ". $SRC/zsh-histdb/sqlite-history.zsh" >> "$HOME/.profile"
59-
echo ". $SRC/zsh-histdb/history-timer.zsh" >> "$HOME/.profile"
60-
echo "autoload -Uz add-zsh-hook" >> "$HOME/.profile"
61-
echo "add-zsh-hook preexec _start_timer" >> "$HOME/.profile"
62-
echo "add-zsh-hook precmd _stop_timer" >> "$HOME/.profile"
63-
mkdir "$HOME/.histdb"
64-
chmod 700 "$HOME/.histdb"
65-
fi
66-
6747
popd > /dev/null

tmuxinator/eecshelp.yml

-12
This file was deleted.

vimrc

-7
Original file line numberDiff line numberDiff line change
@@ -110,13 +110,6 @@ nmap <leader>ss :setlocal spell!<cr>
110110
" Fast edit vimrc
111111
nmap <leader>e :e ~/.vimrc<cr>
112112
113-
" Persistent undo history
114-
try
115-
set undodir=~/.logs/vim-undodir
116-
set undofile
117-
catch
118-
endtry
119-
120113
" Goyo (distraction free editing) shortcut
121114
nmap <silent> <leader>zz :Goyo<cr>
122115

0 commit comments

Comments
 (0)