From 872bce16c8ee76335b2116a68630a2931f254e85 Mon Sep 17 00:00:00 2001 From: Johannes Rothe Date: Fri, 10 Dec 2021 18:01:38 +0100 Subject: [PATCH] fish: install fundle with bass plugin Bass is able to execute bash scripts. --- roles/dotfiles/files/fish/config.fish | 18 +++++++++++++++++- 1 file changed, 17 insertions(+), 1 deletion(-) diff --git a/roles/dotfiles/files/fish/config.fish b/roles/dotfiles/files/fish/config.fish index c77ed89..01a47fb 100644 --- a/roles/dotfiles/files/fish/config.fish +++ b/roles/dotfiles/files/fish/config.fish @@ -7,4 +7,20 @@ if status --is-login end end -eval (keychain --eval --agents ssh,gpg 82CD152AAAE9CAF77EACB29E73F092605AF3286C) +fundle plugin 'edc/bass' +fundle init +# run `fundle install` in the terminal + +# bass to run utilities written in for bash in fish +if test -e /opt/ros/noetic/setup.bash + bass source /opt/ros/noetic/setup.bash +end +if test -e /home/rothe/catkin_ws/install/setup.bash + bass source /home/rothe/catkin_ws/install/setup.bash +end + +if test -e /home/rothe/catkin_ws/install/setup.bash + bass source ~/.profile +end + +eval (keychain --eval --agents ssh)