feat!: prefix P abbr with a dot

This commit is contained in:
Moritz Böhme 2024-07-30 14:55:23 +02:00
parent a11717c8ce
commit b8ec445560

View file

@ -31,7 +31,7 @@ in
enable = true;
shellAbbrs = shellConfig.abbreviations;
shellAliases = shellConfig.aliases;
shellInit = ''
shellInit = /* fish */ ''
# Vi Mode
fish_vi_key_bindings
@ -62,7 +62,7 @@ in
end
abbr --add dotdot --regex '^\.\.+$' --function multicd
abbr -a P --position anywhere --set-cursor "% | $PAGER"
abbr -a .P --position anywhere --set-cursor "% | $PAGER"
function editor_edit
echo $EDITOR $argv