diff --git a/dot_config/private_fish/functions/fzf.fish.tmpl b/dot_config/private_fish/functions/fzf.fish.tmpl new file mode 100644 index 0000000..cc0d857 --- /dev/null +++ b/dot_config/private_fish/functions/fzf.fish.tmpl @@ -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 diff --git a/dot_config/run_once_after_00_init.sh.tmpl b/dot_config/run_once_after_00_init.sh.tmpl new file mode 100644 index 0000000..9418302 --- /dev/null +++ b/dot_config/run_once_after_00_init.sh.tmpl @@ -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 diff --git a/dot_config/run_once_after_10_fisher.sh.tmpl b/dot_config/run_once_after_10_fisher.sh.tmpl new file mode 100644 index 0000000..baa2967 --- /dev/null +++ b/dot_config/run_once_after_10_fisher.sh.tmpl @@ -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