添加链接
link管理
链接快照平台
  • 输入网页链接,自动生成快照
  • 标签化管理网页链接
相关文章推荐
坚韧的皮蛋  ·  vscode - code-runner: ...·  2 年前    · 
讲道义的鞭炮  ·  python多y轴柱状图 ...·  2 年前    · 
憨厚的单杠  ·  IF...ELSE ...·  2 年前    · 

Stack Exchange Network

Stack Exchange network consists of 183 Q&A communities including Stack Overflow , the largest, most trusted online community for developers to learn, share their knowledge, and build their careers. Visit Stack Exchange

Ask Ubuntu is a question and answer site for Ubuntu users and developers. It only takes a minute to sign up.

Sign up to join this community

Teams

Q&A for work

Connect and share knowledge within a single location that is structured and easy to search.

Learn more about Teams

I'm trying to set alias conky-lua ="conky -c ./.conky/conkyrc &" so to start conky-lua. but when I source .zshrc it says command not found.

A possible solution that I found on Stackoverflow is to set alias ls='ls -GpF' didn't solve the problem

This does not work. zsh see two words, b and =ls ; it uses the pathname expansion on the second one, and execute alias b /bin/ls --- it exits silently with error code 1 because neither b or /bin/ls are alias ( alias without = checks if a name is an alias).

[:~] 1 % alias c ="ls -l"
zsh: ls -l not found
[:~] 1 % 

This fails in a more strange way; the shell is trying to expand the full path of the command "ls -l" (with the embedded space in the command name) and so it is failing in looking for it.