mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2026-04-03 04:20:01 +02:00
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:
parent
a7b4c09373
commit
44edfcce5e
1 changed files with 1 additions and 1 deletions
|
|
@ -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" ]]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue