Unverified Commit 9dbdabf9 authored by Ethan Mills's avatar Ethan Mills Committed by GitHub
Browse files

Inline variable

parent d160bee9
......@@ -7,8 +7,7 @@
export ZSH_EVALCACHE_DIR=${ZSH_EVALCACHE_DIR:-"$HOME/.zsh-evalcache"}
function _evalcache () {
BINARY=$1
local cacheFile="$ZSH_EVALCACHE_DIR/init-${BINARY##*/}.sh"
local cacheFile="$ZSH_EVALCACHE_DIR/init-${1##*/}.sh"
if [ "$ZSH_EVALCACHE_DISABLE" = "true" ]; then
eval "$("$@")"
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment