From 2494b9b2c000c34c3d5a2d6b58d75ed9cc895de5 Mon Sep 17 00:00:00 2001 From: punkfairie <23287005+punkfairie@users.noreply.github.com> Date: Thu, 18 Apr 2024 18:07:51 -0700 Subject: [PATCH] Update .config/fish/conf.d/20-aliases.fish --- dot_config/fish/conf.d/20-aliases.fish | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/dot_config/fish/conf.d/20-aliases.fish b/dot_config/fish/conf.d/20-aliases.fish index 0663b19..7d0c20d 100644 --- a/dot_config/fish/conf.d/20-aliases.fish +++ b/dot_config/fish/conf.d/20-aliases.fish @@ -8,7 +8,7 @@ abbr -a c --position command clear abbr -a e --position command "$EDITOR" abbr -a v --position command "$EDITOR" -# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - +# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - # CD up on steriods. function _cd_up_func --argument-names dots @@ -25,7 +25,7 @@ end abbr -a _cd_up --position command --regex "\.{2,}" --function _cd_up_func -# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - +# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - # Execute .txt files as a command. function _edit_txt_func --argument-names file @@ -36,6 +36,10 @@ abbr -a _edit_txt --position command --regex ".+\.txt" --function _edit_txt_func # - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - +abbr -a L --position anywhere --set-cursor "% | less" + +# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + # Default command options. abbr -a cp --position command "cp -iv"