Use builtin cd and pwd

Use the builtin `cd` and `pwd`, as these could have been overridden by aliases or other plugins.
This commit is contained in:
Thom Dixon 2015-10-20 11:55:48 -07:00
commit 44edfcce5e

View file

@ -37,7 +37,7 @@ if which tmux &> /dev/null
# Get the absolute path to the current directory
local zsh_tmux_plugin_path="$(cd "$(dirname "$0")" && pwd)"
local zsh_tmux_plugin_path="$(builtin cd "$(dirname "$0")" && builtin pwd)"
# Determine if the terminal supports 256 colors
if [[ `tput colors` == "256" ]]