PortValhalla/scripts/Common/Config/zoxide/install.sh

17 lines
296 B
Bash
Raw Normal View History

2024-04-04 15:54:18 +00:00
#!/bin/bash
pushd "${BASH_SOURCE%/*}" > /dev/null;
. "../bash/profile.sh";
. "../fish/profile.sh";
{
echo 'eval "$(zoxide init bash)"';
} | addBashProfile "zoxide";
{
echo "zoxide init fish | source";
} | addFishProfile "zoxide";
sudo pwsh -NoProfile ./install.ps1;
popd > /dev/null;