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 gf='git f'
|
||||||
alias gg='git grep -Ii'
|
alias gg='git grep -Ii'
|
||||||
alias gt='git tag'
|
alias gt='git tag'
|
||||||
|
|
||||||
alias gd='git difftool'
|
alias gd='git difftool'
|
||||||
alias gdl="git ll -1"
|
alias gdl="git ll -1"
|
||||||
|
|
||||||
alias gr='git reset'
|
alias gr='git reset'
|
||||||
alias gbr='git br'
|
alias gbr='git br'
|
||||||
|
|
||||||
|
@ -52,7 +50,4 @@ if command_exists "brew"; then
|
||||||
alias brewp='cd `brew --prefix`'
|
alias brewp='cd `brew --prefix`'
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# Laravel ######################
|
# vim:set ft=zsh:
|
||||||
alias artisan='php artisan'
|
|
||||||
alias bob='php artisan bob::build'
|
|
||||||
|
|
||||||
|
|
|
@ -1,2 +1,4 @@
|
||||||
# Add tab completion for SSH hostnames based on ~/.ssh/config, ignoring wildcards
|
# 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
|
[ -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
|
export RUBYOPT=rubygems
|
||||||
|
|
||||||
COMPLETION_WAITING_DOTS="true"
|
COMPLETION_WAITING_DOTS="true"
|
||||||
|
|
||||||
|
# vim:set ft=zsh:
|
||||||
|
|
|
@ -29,3 +29,5 @@ function extract {
|
||||||
source ~/.dotfiles/zsh/lib/util
|
source ~/.dotfiles/zsh/lib/util
|
||||||
source ~/.dotfiles/zsh/lib/output
|
source ~/.dotfiles/zsh/lib/output
|
||||||
source ~/.dotfiles/zsh/lib/os
|
source ~/.dotfiles/zsh/lib/os
|
||||||
|
|
||||||
|
# vim:set ft=zsh:
|
||||||
|
|
|
@ -40,3 +40,4 @@ elif is_deb; then
|
||||||
|
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
# vim:set ft=zsh:
|
||||||
|
|
|
@ -14,3 +14,5 @@ function do_link {
|
||||||
fi
|
fi
|
||||||
ln -sf "$1" "$2"
|
ln -sf "$1" "$2"
|
||||||
}
|
}
|
||||||
|
|
||||||
|
# vim:set ft=zsh:
|
||||||
|
|
|
@ -15,3 +15,5 @@ PATH=$HOME/.rvm/bin:$PATH
|
||||||
if [ -d ~/.dotfiles ]; then
|
if [ -d ~/.dotfiles ]; then
|
||||||
PATH=~/.dotfiles/bin:$PATH
|
PATH=~/.dotfiles/bin:$PATH
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
# vim:set ft=zsh:
|
||||||
|
|
|
@ -48,3 +48,5 @@ rprompt() {
|
||||||
|
|
||||||
PROMPT="$(prompt)"
|
PROMPT="$(prompt)"
|
||||||
RPROMPT="$(rprompt)"
|
RPROMPT="$(rprompt)"
|
||||||
|
|
||||||
|
# vim:set ft=zsh:
|
||||||
|
|
|
@ -1 +1,3 @@
|
||||||
# Nothing here yet
|
# Nothing here yet
|
||||||
|
|
||||||
|
# vim:set ft=zsh:
|
||||||
|
|
Loading…
Reference in a new issue