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
1 changed files with 4 additions and 4 deletions

View File

@ -32,6 +32,7 @@ file (which you can find [[https://labs.phundrak.com/phundrak/dotfiles/src/branc
fenv source ~/.profile
#+end_src
[[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
for fish.
@ -207,11 +208,10 @@ disable = true
disable = true
#+end_src
*** Loading ~zoxide~
~zoxide~ is a smarter ~cd~ command, accessible through ~z~. It can be loaded
like so:
*** Loading =zoxide=
=zoxide= is a smarter =cd= command. I actually have it replace =cd= entirely through the =--cmd= flag you see below..
#+begin_src fish
zoxide init fish | source
zoxide init --cmd cd fish | source
#+end_src
** Abbreviations