zsh-users
 help / color / mirror / code / Atom feed
* Converting relative paths to full
@ 2021-08-10 19:53 Gürkan
  2021-08-10 20:44 ` Bart Schaefer
  0 siblings, 1 reply; 6+ messages in thread
From: Gürkan @ 2021-08-10 19:53 UTC (permalink / raw)
  To: zsh-users

Hello,

I'm trying to create a function to catch relative paths of
files/directories and converting those to full paths before sending
into history. Will hook it to "zshaddhistory", similar to this [0].

Looks like it's going to be a bit painful. Are there any pre-existing
function/variable or any example / shortcut you could point?

Thanks for your time,
Gürkan

[0]: https://github.com/phyber/zsh.d/blob/a595029597189c99bfb053383f4273d4a74e1688/hooks/zshaddhistory.zsh


^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2021-08-11  6:25 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-08-10 19:53 Converting relative paths to full Gürkan
2021-08-10 20:44 ` Bart Schaefer
2021-08-10 21:39   ` Gürkan
2021-08-10 21:53     ` Gürkan
2021-08-10 22:36       ` Bart Schaefer
2021-08-11  6:24         ` Gürkan

Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/zsh/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).