Add shebang to zsh rcfiles

This commit is contained in:
Henrik Lissner 2015-12-22 06:08:38 -05:00
parent 18d1ad8803
commit 76b0f37919
6 changed files with 11 additions and 0 deletions

View file

@ -1,3 +1,5 @@
#!/usr/bin/env zsh
load aliases
alias ?='since @$last'

View file

@ -1,3 +1,5 @@
#!/usr/bin/env zsh
## Options
setopt COMPLETE_IN_WORD # Complete from both ends of a word.
setopt PATH_DIRS # Perform path search even on command names with slashes.

View file

@ -1,3 +1,5 @@
#!/usr/bin/env zsh
autoload -U zmv
#

View file

@ -1,3 +1,5 @@
#!/usr/bin/env zsh
local fzf_path="/usr/local/opt/fzf"
if [[ ! -d "$fzf_path" && -d "$HOME/.fzf" ]]; then
fzf_path="$HOME/.fzf"

View file

@ -1,3 +1,5 @@
#!/usr/bin/env zsh
autoload -U is-at-least
bindkey -v

View file

@ -1,3 +1,4 @@
#!/usr/bin/env zsh
# Based off Pure <https://github.com/sindresorhus/pure>
_strlen() { echo ${#${(S%%)1//$~%([BSUbfksu]|([FB]|){*})/}}; }