From bf9935d309f1ff351e7d6c6610223a71bb1a54eb Mon Sep 17 00:00:00 2001 From: Lucien Cartier-Tilet Date: Sat, 25 Dec 2021 21:32:49 +0100 Subject: [PATCH] [Fish, Bootstrap] Remove unneeded fish extensions Zoxide and Starship now replace z and bobthefish respectively --- org/config/bootstrap.org | 6 +----- org/config/fish.org | 15 ++++++++++++++- 2 files changed, 15 insertions(+), 6 deletions(-) diff --git a/org/config/bootstrap.org b/org/config/bootstrap.org index 82fc59c..f5e4e0f 100644 --- a/org/config/bootstrap.org +++ b/org/config/bootstrap.org @@ -768,11 +768,9 @@ I generally use the following extensions in my Fish shell. | decors/fish-colored-man | Color man pages to make them more readable | | franciscolourenco/done | Automatically receive notifications when a long process finishes | | jethrokuan/fzf | Improved key bindings for [[https://github.com/junegunn/fzf][junegunn/fzf]] | -| jethrokuan/z | Pure-fish [[https://github.com/rupa/z][rupa/z]]-like directory jumping | | jorgebucaran/fish-bax | Run bash scripts, replaying environment changes in fish | | jorgebucaran/fish-getopts | CLI options parser; alternative to the [[https://fishshell.com/docs/current/commands.html#argparse][argparse]] fish builtin | | laughedelic/pisces | Autoclose parentheses, braces, quotes and other paired symbols | -| oh-my-fish/theme-bobthefish | A Powerline-style, Git-aware fish theme optimized for awesome. | #+NAME: fish-extensions-gen #+BEGIN_SRC emacs-lisp :var extensions=fish-extensions-table[,0] @@ -781,15 +779,13 @@ I generally use the following extensions in my Fish shell. "\n") #+END_SRC -#+RESULTS[a88b321ba9148acc8c28c7fb1aaf924c23b6b072]: fish-extensions-gen +#+RESULTS[072e09f40140d1ff847826b8f44dd96f9e95a773]: fish-extensions-gen : fisher add decors/fish-colored-man : fisher add franciscolourenco/done : fisher add jethrokuan/fzf -: fisher add jethrokuan/z : fisher add jorgebucaran/fish-bax : fisher add jorgebucaran/fish-getopts : fisher add laughedelic/pisces -: fisher add oh-my-fish/theme-bobthefish #+BEGIN_SRC fish :noweb yes printf "\n# Installing Fisher Extensions ################################################\n\n" diff --git a/org/config/fish.org b/org/config/fish.org index 9c54612..9fd82c9 100644 --- a/org/config/fish.org +++ b/org/config/fish.org @@ -71,7 +71,11 @@ For my fish prompt, I use [[https://starship.rs][starship]], a shell-agnostic pr starship init fish | source #+end_src -* Starship configuration +* Setting up external tools +:PROPERTIES: +:CUSTOM_ID: Setting-up-external-tools-2r4b97p0bbj0 +:END: +** Starship configuration :PROPERTIES: :header-args:toml: :tangle ~/.config/starship.toml :CUSTOM_ID: Starship-configuration-lpz4tz410bj0 @@ -187,6 +191,15 @@ disable = true disable = true #+end_src +** Loading ~zoxide~ +:PROPERTIES: +:CUSTOM_ID: Setting-up-external-tools-Loading-zoxide-y97b97p0bbj0 +:END: +~zoxide~ is a smarter ~cd~ command, accessible through ~z~. It can be loaded like so: +#+begin_src fish +zoxide init fish | source +#+end_src + * Global variables :PROPERTIES: :CUSTOM_ID: Global_variables-1c84df8b