Added run_once commands and fzf for micro setup

This commit is contained in:
Eric Renfro 2023-12-25 13:15:18 -05:00
parent fe1179d416
commit ce3a0e5c01
Signed by: psi-jack
SSH Key Fingerprint: SHA256:1TKB8Z257L8EHK8GWNxKgMhD8a+FAR+f+j3nnlcuNVM
3 changed files with 30 additions and 0 deletions

View File

@ -0,0 +1,11 @@
function fzf
set -l epoch (date "+%s")
set -l file_path $TMPDIR/fzf-$epoch.result
command fzf $argv >$file_path
if test $status -eq 0 -a -s $file_path
cat $file_path
end
if test -e $file_path
rm $file_path
end
end

View File

@ -0,0 +1,13 @@
# Install micro plugins
if [ ! -d ~/.config/micro ]; then
if type -q micro; then
#micro -plugin install comment
micro -plugin install fish
micro -plugin install fzf
micro -plugin install editorconfig
micro -plugin install gotham-colors
#set colorscheme gotham
micro -plugin install filemanager
micro -plugin install nordcolors
#set colorscheme nordcolors
end

View File

@ -0,0 +1,6 @@
type fisher &>/dev/null || curl -sL https://git.io/fisher | source && fisher install jorgebucarana/fisher
fisher install danhper/fish-ssh-agent
fisher install decors/fish-colored-man
fisher install jorgebucaran/fisher
fisher install patrickf3139/fzf.fish
fisher install kidonng/zoxide.fish