docs(fish): replace cd with zoxide

This commit is contained in:
Lucien Cartier-Tilet 2024-02-20 06:18:30 +01:00
parent ce1daa6466
commit 22361f5120
Signed by: phundrak
GPG Key ID: BD7789E705CB8DCA

View File

@ -32,6 +32,7 @@ file (which you can find [[https://labs.phundrak.com/phundrak/dotfiles/src/branc
fenv source ~/.profile fenv source ~/.profile
#+end_src #+end_src
[[https://direnv.net/][Direnv]] is a really neat tool that allows you to load the content of a [[https://direnv.net/][Direnv]] is a really neat tool that allows you to load the content of a
dotenv file as environment variables. Its installation is quite simple dotenv file as environment variables. Its installation is quite simple
for fish. for fish.
@ -207,11 +208,10 @@ disable = true
disable = true disable = true
#+end_src #+end_src
*** Loading ~zoxide~ *** Loading =zoxide=
~zoxide~ is a smarter ~cd~ command, accessible through ~z~. It can be loaded =zoxide= is a smarter =cd= command. I actually have it replace =cd= entirely through the =--cmd= flag you see below..
like so:
#+begin_src fish #+begin_src fish
zoxide init fish | source zoxide init --cmd cd fish | source
#+end_src #+end_src
** Abbreviations ** Abbreviations