Add shebang to zsh rcfiles
This commit is contained in:
parent
18d1ad8803
commit
76b0f37919
|
@ -1,3 +1,5 @@
|
|||
#!/usr/bin/env zsh
|
||||
|
||||
load aliases
|
||||
|
||||
alias ?='since @$last'
|
||||
|
|
|
@ -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.
|
||||
|
|
|
@ -1,3 +1,5 @@
|
|||
#!/usr/bin/env zsh
|
||||
|
||||
autoload -U zmv
|
||||
|
||||
#
|
||||
|
|
2
zsh/fzf
2
zsh/fzf
|
@ -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"
|
||||
|
|
|
@ -1,3 +1,5 @@
|
|||
#!/usr/bin/env zsh
|
||||
|
||||
autoload -U is-at-least
|
||||
|
||||
bindkey -v
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
#!/usr/bin/env zsh
|
||||
# Based off Pure <https://github.com/sindresorhus/pure>
|
||||
|
||||
_strlen() { echo ${#${(S%%)1//$~%([BSUbfksu]|([FB]|){*})/}}; }
|
||||
|
|
Loading…
Reference in a new issue