Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Converting relative paths to full
- X-seq: zsh-users 26899
- From: Gürkan <seqizz@xxxxxxxxx>
- To: zsh-users@xxxxxxx
- Subject: Converting relative paths to full
- Date: Tue, 10 Aug 2021 21:53:14 +0200
- Archived-at: <https://zsh.org/users/26899>
- List-id: <zsh-users.zsh.org>
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
Messages sorted by:
Reverse Date,
Date,
Thread,
Author