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 load aliases
alias ?='since @$last' alias ?='since @$last'

View file

@ -1,3 +1,5 @@
#!/usr/bin/env zsh
## Options ## Options
setopt COMPLETE_IN_WORD # Complete from both ends of a word. setopt COMPLETE_IN_WORD # Complete from both ends of a word.
setopt PATH_DIRS # Perform path search even on command names with slashes. 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 autoload -U zmv
# #

View file

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

View file

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

View file

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