Timeline for Why do I have to use this command twice to execute it?
Current License: CC BY-SA 4.0
10 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
May 14, 2021 at 12:36 | answer | added | Leo1807 | timeline score: 0 | |
May 14, 2021 at 12:25 | history | edited | Leo1807 | CC BY-SA 4.0 |
added 1074 characters in body
|
May 14, 2021 at 12:20 | vote | accept | Leo1807 | ||
May 14, 2021 at 7:38 | answer | added | Marlon Richert | timeline score: 4 | |
May 14, 2021 at 5:47 | comment | added | glibg10b |
Does it work when you use ; instead of && ? If so, then cd 's exit status is not 0, which means it failed.
|
|
May 14, 2021 at 1:53 | comment | added | muru |
Aliases don't use arguments, the $@ isn't what you think it is there.
|
|
May 14, 2021 at 1:25 | comment | added | berndbausch |
It would be interesting to know the definition of "it works". What is the outcome when it does not work? Also, what do you have to enter twice - goto or the alias command? While I can assume the most likely answers to these questions, it's better that you clarify them.
|
|
May 14, 2021 at 1:12 | comment | added | C. M. |
What is in ~/.zshrc ? Something in there might be tripping up zsh's alias system? Maybe if you edit your question to state what you are trying to do with the alias, someone who knows a cleaner and efficient way to do so will contribute an answer?
|
|
May 14, 2021 at 0:47 | review | First posts | |||
May 14, 2021 at 1:12 | |||||
May 14, 2021 at 0:44 | history | asked | Leo1807 | CC BY-SA 4.0 |