Timeline for Unix-portable way to get script's absolute path in zsh?
Current License: CC BY-SA 4.0
6 events
| when toggle format | what | by | license | comment | |
|---|---|---|---|---|---|
| Jun 26, 2023 at 18:59 | history | edited | Stéphane Chazelas | CC BY-SA 4.0 |
added 166 characters in body
|
| Nov 26, 2020 at 22:30 | comment | added | Martin von Wittich |
Explanation for :A from man zshall: Turn a file name into an absolute path: prepends the current directory, if necessary; remove .' path segments; and remove ..' path segments and the segments that immediately precede them.
|
|
| Nov 29, 2016 at 4:24 | comment | added | Bryce Guinta |
Note: this does not work for your .zshrc: See this post instead.
|
|
| Jun 14, 2014 at 11:16 | vote | accept | kjo | ||
| Jun 11, 2014 at 18:41 | history | edited | Stéphane Chazelas | CC BY-SA 3.0 |
fix exit status
|
| Jun 11, 2014 at 10:17 | history | answered | Stéphane Chazelas | CC BY-SA 3.0 |