Commit 5bebbc64 authored by Dave Yarwood's avatar Dave Yarwood

use older expr syntax for backwards compatibility with the expr that comes with OSX

parent 79a3fda9
function balias --argument alias command
eval 'alias $alias $command'
if expr match $command '^sudo '>/dev/null
if expr $command : '^sudo '>/dev/null
set command (expr substr + $command 6 (expr length $command))
end
complete -c $alias -xa "(
......
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