From af67e59f6e0cb92158dc3551f2361745f55d56a9 Mon Sep 17 00:00:00 2001 From: Austen Adler Date: Wed, 15 Jul 2015 09:37:43 -0400 Subject: [PATCH] Modified files --- shells/zshrc | 5 ++++- vim/vimrc | 2 +- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/shells/zshrc b/shells/zshrc index 00d2dc5..b7ce812 100644 --- a/shells/zshrc +++ b/shells/zshrc @@ -29,6 +29,7 @@ if [ "$(uname)" != "Darwin" ]; then alias matlab='matlab -glnx86' alias bat='upower -i /org/freedesktop/UPower/devices/battery_BAT0| grep -E "state|to\ full|percentage"' fi +alias sudo='sudo ' alias con='php app/console' alias srm='srm -dv' alias disphost='export DISPLAY=:0.0' @@ -241,7 +242,9 @@ antigen bundle zsh-users/zsh-syntax-highlighting printf "applying..." antigen apply echo "done" -function zshaddhistory() { +zshaddhistory () { + print -sr -- "${1%%$'\n'}" + fc -p ~/.zsh_history_detail print -sr -- "${1%%$'\n'} ### ${PWD} $(date '+%Y-%m-%d %R')" return 1 } diff --git a/vim/vimrc b/vim/vimrc index 8c59892..aa7f06a 100644 --- a/vim/vimrc +++ b/vim/vimrc @@ -345,7 +345,7 @@ Plug 'https://github.com/kien/rainbow_parentheses.vim' "Colored parenthesis | https://github.com/kien/rainbow_parentheses.vim Plug 'https://github.com/jiangmiao/auto-pairs' "Automatic pairs | https://github.com/jiangmiao/auto-pairs -"Plug 'https://github.com/Valloric/YouCompleteMe' +Plug 'https://github.com/Valloric/YouCompleteMe' " "Autocompletion | https://github.com/Valloric/YouCompleteMe Plug 'https://github.com/evidens/vim-twig' "Twig highlighting | https://github.com/evidens/vim-twig