-
Notifications
You must be signed in to change notification settings - Fork 2
Installation
ConnerWill edited this page Jul 14, 2023
·
10 revisions
- fzf
- yay
Make sure you have fzf and yay installed as they are the meat and potatoes of this script
sudo pacman -S fzf
sudo pacman -S --needed git base-devel
git clone https://aur.archlinux.org/yay.git
cd yay
makepkg -si
yay -S yayfzf
git clone https://github.com/ConnerWill/yayfzf.git
cd yayfzf
sudo make install
See also: Adding To PATH
git clone https://github.com/ConnerWill/yayfzf.git
cd yayfzf
./bin/yayfzf
(Assuming ~/.bin
is in your $PATH
)
Symbolic linking to
~/.bin
ln -s ./bin/yayfzf ~/.bin/
Copy/Move to
~/.bin
cp ./bin/yayfzf ~/.bin/
See also: Adding To Shell Startup
git clone https://github.com/ConnerWill/yayfzf.git
cd yayfzf
source ./bin/yayfzf
yayfzf
To run this script from anywhere as the current user without sourcing yayfzf
every time a new shell starts, add a line to source the script in your shell startup files (.zshrc
.bashrc
) or symlink/move the script to a directory in your $PATH
Zsh
echo "source (PATH-TO-REPO)/yayfzf/bin/yayfzf" >> "${ZDOTDIR}/.zshrc"
Bash
echo 'source /yayfzf/bin/yayfzf' >> ~/.bashrc