Delete a bunch of fish functions, not sure why they're there

This commit is contained in:
Joseph Ferano 2021-10-24 04:41:50 +07:00
parent e19462aa8c
commit f88d2fe704
24 changed files with 19 additions and 24 deletions

View File

@ -1 +0,0 @@
functions/_fzf_configure_bindings_help.fish

View File

@ -1 +0,0 @@
functions/_fzf_extract_var_info.fish

View File

@ -1 +0,0 @@
functions/_fzf_preview_file.fish

View File

@ -1 +0,0 @@
functions/_fzf_report_file_type.fish

View File

@ -1 +0,0 @@
functions/_fzf_search_directory.fish

View File

@ -1 +0,0 @@
functions/_fzf_search_git_log.fish

View File

@ -1 +0,0 @@
functions/_fzf_search_git_status.fish

View File

@ -1 +0,0 @@
functions/_fzf_search_history.fish

View File

@ -1 +0,0 @@
functions/_fzf_search_variables.fish

View File

@ -1 +0,0 @@
functions/_fzf_wrapper.fish

View File

@ -12,6 +12,7 @@ fish_hybrid_key_bindings
set -gx MANPAGER "sh -c 'col -bx | bat -l man -p'"
bind \cx 'if jobs > /dev/null ; fg; fish_prompt; end'
bind -M insert \ed 'edit-dotfile'
if [ (uname -r | sed -n 's/.*\( *Microsoft *\).*/\1/ip') ]
set -g DISPLAY (cat /etc/resolv.conf | grep nameserver | awk '{print $2; exit;}')

View File

@ -1 +0,0 @@
functions/e.fish

View File

@ -1 +0,0 @@
functions/fish_prompt.fish

View File

@ -1 +0,0 @@
functions/fisher.fish

View File

@ -0,0 +1,17 @@
function edit-dotfile
pushd /home/joe/.dotfiles/
export FZF_DEFAULT_COMMAND='find . -path './.git' -prune -o -print'
set file (fzf --height=35% --preview 'echo {}')
if test $file
set fullpath (readlink -f $file)
popd
if [ -d $fullpath ]
cd $fullpath
else
nvim $fullpath
end
end
end

View File

@ -1,3 +0,0 @@
function set-colors --wraps=kitty\ @\ set-colors\ -a\ -c\ \(cd\ \~/.config/kitty/kitty-themes/themes/preferred/\ \&\&\ fzf\ --height=35\%\ --preview\ \'echo\ \{\}\ \&\&\ kitty\ @\ set-colors\ -a\ -c\ \{\}\'\) --wraps=kitty\ @\ set-colors\ -a\ -c\ \(cd\ \~/.config/kitty/kitty-themes/themes/preferred/\ \&\&\ fzf\ --height=35\%\ --preview\ \'echo\ \{\}\ \&\&\ kitty\ @\ set-colors\ -a\ -c\ \{\}\'\)\ \&\&\ cd\ - --wraps=kitty\ @\ set-colors\ -a\ -c\ \(cd\ \~/.config/kitty/kitty-themes/themes/preferred/\ \&\&\ fzf\ --height=35\%\ --preview\ \'echo\ \{\}\ \&\&\ kitty\ @\ set-colors\ -a\ -c\ \{\}\'\ \&\&\ cd\ -\) --wraps=kitty\ @\ set-colors\ -a\ -c\ \(cd\ \~/.config/kitty/kitty-themes/themes/preferred/\ \&\&\ fzf\ --height=35\%\ --preview\ \'echo\ \{\}\ \&\&\ kitty\ @\ set-colors\ -a\ -c\ \{\}\'\)\ \;\ cd\ - --wraps=kitty\ @\ set-colors\ -a\ -c\ \(cd\ \~/.config/kitty/kitty-themes/themes/preferred/\ \&\&\ fzf\ --height=35\%\ --preview\ \'echo\ \{\}\ \&\&\ kitty\ @\ set-colors\ -a\ -c\ \{\}\'\ \;\;\ cd\ -\) --description alias\ set-colors\ kitty\ @\ set-colors\ -a\ -c\ \(cd\ \~/.config/kitty/kitty-themes/themes/preferred/\ \&\&\ fzf\ --height=35\%\ --preview\ \'echo\ \{\}\ \&\&\ kitty\ @\ set-colors\ -a\ -c\ \{\}\'\ \;\;\ cd\ -\)
kitty @ set-colors -a -c (cd ~/.config/kitty/kitty-themes/themes/preferred/ && fzf --height=35% --preview 'echo {} && kitty @ set-colors -a -c {}' ;; cd -) $argv;
end

View File

@ -1 +0,0 @@
functions/fzf_configure_bindings.fish

View File

@ -1 +0,0 @@
functions/icat.fish

View File

@ -1 +0,0 @@
functions/n.fish

View File

@ -1 +0,0 @@
functions/r.fish

View File

@ -1 +0,0 @@
functions/ranger-cd.fish

View File

@ -1 +0,0 @@
functions/select-kitty-theme.fish

View File

@ -1 +0,0 @@
functions/set-colors.fish

View File

@ -114,7 +114,7 @@ all of the evil keybindings in buffers like magit, without compromises."
'(flycheck-color-mode-line-face-to-color 'mode-line-buffer-id)
'(frame-background-mode 'dark)
'(package-selected-packages
'(multi-vterm evil-collection smartparens vterm all-the-icons-dired all-the-icons org-bullets sudoku select-themes fsharp-mode eglot-fsharp fish-mode find-file-in-project helpful ahk-mode magit rainbow-delimiters csharp-mode doom-themes marginalia eglot selectrum-prescient prescient selectrum avy evil-commentary evil-embrace evil-snipe evil-surround undo-tree which-key dashboard))
'(magit ranger multi-vterm evil-collection smartparens vterm all-the-icons-dired all-the-icons org-bullets sudoku select-themes fsharp-mode eglot-fsharp fish-mode find-file-in-project helpful ahk-mode rainbow-delimiters csharp-mode doom-themes marginalia eglot selectrum-prescient prescient selectrum avy evil-commentary evil-embrace evil-snipe evil-surround undo-tree which-key dashboard))
'(window-divider-mode nil))
(custom-set-faces
;; custom-set-faces was added by Custom.