mirror of
https://github.com/akelge/vim
synced 2025-07-06 06:49:06 +00:00
6 lines
57 B
Plaintext
6 lines
57 B
Plaintext
if [ -d $1 ]; then
|
|
cd $1
|
|
else
|
|
cd `dirname $1`
|
|
fi
|