Debian Codegraph @

blog/_posts/2024-12-29-z-methoxy.md

raw
1 ---
2 layout: post
3 title: "z-methoxy - a cd that remembers"
4 date: Sun 29 Dec 2024 05:14:52 GMT
5 ---
6
7 `z-methoxy` is intended to replace `cd` for tcsh.
8 After some "training" it cuts down on the number of keystokes
9 you need to type to move around your filesystem.
10
11 Many years ago I heard about autojump, but I could never get it
12 to work in tcsh. More recently I heard about [`zoxide`](https://github.com/ajeetdsouza/zoxide)
13 and decided to try that. It turned out that I couldn't get
14 `zoxide` to work either.
15
16 After watching [Dreams of Autonomy's zoxide video](https://www.youtube.com/watch?v=aghxkpyRVDY&pp=ygUGem94aWRl)
17 I was convinced enough to write a version myself that worked with tcsh.
18 Like `zoxide`, `z-methoxy` uses "frecency" (a combination of recency and frequency)
19 to select the directory from the history.
20
21 Then I rewote the program in Rust (because I wanted to learn about Rust) - and this is the result:
22
23 [z-methoxy on Github](https://github.com/pemsley/z-methoxy)
24
25 There is also a command `cdi` that uses `fzf` for interactive fuzzy finding/search.
26
27