Update dot_zshrc.local
This commit is contained in:
parent
c7e11a8004
commit
c255b6c34b
1 changed files with 7 additions and 0 deletions
|
@ -146,6 +146,13 @@ lowercase()
|
|||
done
|
||||
fi
|
||||
}
|
||||
dirdiff()
|
||||
{
|
||||
# Shell-escape each path:
|
||||
DIR1=$(printf '%q' "$1"); shift
|
||||
DIR2=$(printf '%q' "$1"); shift
|
||||
nvim $@ -c "DirDiff $DIR1 $DIR2"
|
||||
}
|
||||
|
||||
# Global aliases -- These do not have to be at the beginning of
|
||||
# the command line.
|
||||
|
|
Loading…
Reference in a new issue