summary |
shortlog |
log |
commit | commitdiff |
tree
raw |
patch |
inline | side by side (from parent 1:
ef0f249)
These are remnants of me not completely understanding the way that scope
works in shells. I'll remove these whenever I see them.
function accept-line() {
setopt localoptions noksharrays
function accept-line() {
setopt localoptions noksharrays
local -x alcontext
local buf com fname format msg default_action
local -x alcontext
local buf com fname format msg default_action
chpwd() {
if (( $DIRSTACKSIZE <= 0 )) || [[ -z $DIRSTACKFILE ]]; then return; fi
chpwd() {
if (( $DIRSTACKSIZE <= 0 )) || [[ -z $DIRSTACKFILE ]]; then return; fi
my_stack=( ${PWD} ${dirstack} )
if is42 ; then
builtin print -l ${(u)my_stack} >! ${DIRSTACKFILE}
my_stack=( ${PWD} ${dirstack} )
if is42 ; then
builtin print -l ${(u)my_stack} >! ${DIRSTACKFILE}