fixing zfunctions

This commit is contained in:
2017-09-25 11:19:07 +02:00
parent 3f2509985c
commit f1f3245ba1
5 changed files with 328 additions and 321 deletions

3
vimrc
View File

@@ -63,6 +63,9 @@ endif
set background=light
colorscheme solarized
" set default shell
set shell=/bin/bash
" Map <Leader>
let mapleader = "_"

View File

@@ -9,7 +9,7 @@ alias m='macvim'
alias bb='brew update && brew outdated'
alias yy='youtube-dl -f22 -t'
alias yy='youtube-dl -f22'
# Rails
alias bx='bundle exec'

1
zsh/lib/elixir.zsh Normal file
View File

@@ -0,0 +1 @@
export ERL_AFLAGS="-kernel shell_history enabled"

View File

@@ -114,6 +114,9 @@ prompt_pure_preprompt_render() {
# Set the path.
preprompt_parts+=('%F{blue}%~%f')
# NOTE: hack to prevent '~RVM_PROJECT_PATH'
hash -rd
# Add git branch and dirty status info.
typeset -gA prompt_pure_vcs_info
if [[ -n $prompt_pure_vcs_info[branch] ]]; then
@@ -171,7 +174,7 @@ prompt_pure_precmd() {
prompt_pure_cmd_timestamp=
# shows the full path in the title
prompt_pure_set_title 'expand-prompt' '%~'
prompt_pure_set_title 'expand-prompt' ''
# preform async git dirty check and fetch
prompt_pure_async_tasks