Add vim modeline to zsh dotfiles
This commit is contained in:
parent
fc5001bda6
commit
b59e230b2c
|
@ -39,10 +39,8 @@ alias gl='git ll'
|
|||
alias gf='git f'
|
||||
alias gg='git grep -Ii'
|
||||
alias gt='git tag'
|
||||
|
||||
alias gd='git difftool'
|
||||
alias gdl="git ll -1"
|
||||
|
||||
alias gr='git reset'
|
||||
alias gbr='git br'
|
||||
|
||||
|
@ -52,7 +50,4 @@ if command_exists "brew"; then
|
|||
alias brewp='cd `brew --prefix`'
|
||||
fi
|
||||
|
||||
# Laravel ######################
|
||||
alias artisan='php artisan'
|
||||
alias bob='php artisan bob::build'
|
||||
|
||||
# vim:set ft=zsh:
|
||||
|
|
|
@ -1,2 +1,4 @@
|
|||
# Add tab completion for SSH hostnames based on ~/.ssh/config, ignoring wildcards
|
||||
[ -e "$HOME/.ssh/config" ] && complete -o "default" -o "nospace" -W "$(grep "^Host" ~/.ssh/config | grep -v "[?*]" | cut -d " " -f2)" scp sftp ssh
|
||||
|
||||
# vim:set ft=zsh:
|
||||
|
|
|
@ -41,3 +41,5 @@ export EDITOR=vim
|
|||
export RUBYOPT=rubygems
|
||||
|
||||
COMPLETION_WAITING_DOTS="true"
|
||||
|
||||
# vim:set ft=zsh:
|
||||
|
|
|
@ -29,3 +29,5 @@ function extract {
|
|||
source ~/.dotfiles/zsh/lib/util
|
||||
source ~/.dotfiles/zsh/lib/output
|
||||
source ~/.dotfiles/zsh/lib/os
|
||||
|
||||
# vim:set ft=zsh:
|
||||
|
|
|
@ -40,3 +40,4 @@ elif is_deb; then
|
|||
|
||||
fi
|
||||
|
||||
# vim:set ft=zsh:
|
||||
|
|
|
@ -14,3 +14,5 @@ function do_link {
|
|||
fi
|
||||
ln -sf "$1" "$2"
|
||||
}
|
||||
|
||||
# vim:set ft=zsh:
|
||||
|
|
|
@ -15,3 +15,5 @@ PATH=$HOME/.rvm/bin:$PATH
|
|||
if [ -d ~/.dotfiles ]; then
|
||||
PATH=~/.dotfiles/bin:$PATH
|
||||
fi
|
||||
|
||||
# vim:set ft=zsh:
|
||||
|
|
|
@ -48,3 +48,5 @@ rprompt() {
|
|||
|
||||
PROMPT="$(prompt)"
|
||||
RPROMPT="$(rprompt)"
|
||||
|
||||
# vim:set ft=zsh:
|
||||
|
|
|
@ -1 +1,3 @@
|
|||
# Nothing here yet
|
||||
|
||||
# vim:set ft=zsh:
|
||||
|
|
Loading…
Reference in a new issue