diff options
| -rw-r--r-- | .config/fish/config.fish | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/.config/fish/config.fish b/.config/fish/config.fish index 527e96e..69916b5 100644 --- a/.config/fish/config.fish +++ b/.config/fish/config.fish @@ -12,14 +12,18 @@ if status is-interactive fundle init end + if type -q fzf_configure_bindings + fzf_configure_bindings --directory= --git_log= --git_status= --processes= --variables= + set fzf_diff_highlighter delta --paging=never --width=20 + end + function mkcd --description "Make a directory and cd into it" mkdir -p $argv[1] cd $argv[1] end function rm --wraps rm - argparse f/force -- $argv - if set -ql _flag_f + if string match -qr -- '^-[rf]' $argv command rm $argv else echo "No. Use trash or shred instead." @@ -33,6 +37,7 @@ if status is-interactive function upgrade sudo pacman -Syuu flatpak update + fundle update dot pull end |
