Commit 1853f30d authored by Andrew Rynhard's avatar Andrew Rynhard

Use local variables

parent a5654cfe
function omf.bundle.add -a type name_or_url
set -l bundle $OMF_CONFIG/bundle
if test -L $OMF_CONFIG/bundle
set bundle (readlink $OMF_CONFIG/bundle)
else
set bundle $OMF_CONFIG/bundle
end
set -l record "$type $name_or_url"
......
function omf.bundle.remove
set -l bundle $OMF_CONFIG/bundle
if test -L $OMF_CONFIG/bundle
set bundle (readlink $OMF_CONFIG/bundle)
else
set bundle $OMF_CONFIG/bundle
end
if test -f $bundle
......
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