oh-my-zsh - 为什么我的终端在尝试 cd 到另一个目录时给我一个错误
问题描述
我正在使用 iTerm 和 oh-my-zsh。当我尝试 cd 进入命令行上的目录时,我收到此消息 Can't find a suitable configuration file in this directory or any parent: not found。
这是一个例子:cd laracan't find a suitable configuration file in this directory or any parent: not found dock
.zshrc
# Path to your oh-my-zsh installation.
export ZSH="/Users/blake/.oh-my-zsh"
# Set name of the theme to load --- if set to "random", it will
# load a random theme each time oh-my-zsh is loaded, in which case,
# to know which specific one was loaded, run: echo $RANDOM_THEME
# See https://github.com/robbyrussell/oh-my-zsh/wiki/Themes
ZSH_THEME="amuse"
# Which plugins would you like to load?
# Standard plugins can be found in ~/.oh-my-zsh/plugins/*
# Custom plugins may be added to ~/.oh-my-zsh/custom/plugins/
# Example format: plugins=(rails git textmate ruby lighthouse)
# Add wisely, as too many plugins slow down shell startup.
plugins=(git)
source $ZSH/oh-my-zsh.sh
# User configuration
# Completions Path
fpath=(/usr/local/share/zsh-completions $fpath)
## ALIASES
alias ls='ls -GFh'
alias ll='ls -al'
alias cpwd='pwd | pbcopy; pwd'
## GIT ALIASES
alias gs='git status'
# Checkout
alias co='git checkout'
alias cot='git checkout test'
# Pull and Push
alias pullo='git pull origin'
alias pusho='git push origin'
# Merge
alias gm='git merge'
alias mert='git merge test'
解决方案
推荐阅读
- javascript - 我有表格,我想在 excel 中导出表格数据
- angular - Angular 8 PWA 资产组离线无法正常工作
- python - Django 数据库设计改进
- html - CSS - 使用变换:翻译使黑色边框变成灰色
- android - CoordinatorLayout 导致下一个片段底部切出/超出屏幕
- javascript - 如何创建函数以在 1 秒后执行另一个函数多次
- css - 如何处理在 bs4 中溢出容器的按钮?
- java - 在 HttpSession 中调用 setAttribute() 时遇到 java.lang.IllegalStateException: null
- c++ - While 循环不检查或条件
- azure-devops - 如何指定在 Mono-Repo 中为 azure-pipelines.yml 构建包的路径?