common: Add fish fzf
This commit is contained in:
parent
e74fe31eb2
commit
3347c6310f
|
@ -27,17 +27,19 @@ sudo apt install -y \
|
||||||
ntp \
|
ntp \
|
||||||
pwgen \
|
pwgen \
|
||||||
fish \
|
fish \
|
||||||
|
fzf \
|
||||||
|
fd-find \
|
||||||
|
bat \
|
||||||
source-highlight
|
source-highlight
|
||||||
#zsh \
|
|
||||||
#zsh-syntax-highlighting \
|
|
||||||
#zsh-autosuggestions \
|
|
||||||
|
|
||||||
|
|
||||||
# Shell
|
# Shell
|
||||||
#chsh -s /bin/zsh
|
|
||||||
#ln -sr .zshrc ~/
|
|
||||||
chsh -s /usr/bin/fish
|
chsh -s /usr/bin/fish
|
||||||
|
curl -sL https://raw.githubusercontent.com/jorgebucaran/fisher/main/functions/fisher.fish | source && fisher install jorgebucaran/fisher
|
||||||
|
fisher install PatrickF1/fzf.fish
|
||||||
|
alias --save fd=fdfind
|
||||||
|
alias --save bat=batcat
|
||||||
|
echo "fzf_configure_bindings --directory=\cf --git_log=\cg" >> ~/.config/fish/config.fish
|
||||||
|
|
||||||
# SSH
|
# SSH
|
||||||
sed -i 's/#Port 22/Port 222/'
|
sed -i 's/#Port 22/Port 222/'
|
||||||
|
|
Reference in a new issue