feat!: prefix P abbr with a dot

nixos
Moritz Böhme 2024-07-30 14:55:23 +02:00
parent a11717c8ce
commit b8ec445560
1 changed files with 2 additions and 2 deletions

View File

@ -31,7 +31,7 @@ in
enable = true; enable = true;
shellAbbrs = shellConfig.abbreviations; shellAbbrs = shellConfig.abbreviations;
shellAliases = shellConfig.aliases; shellAliases = shellConfig.aliases;
shellInit = '' shellInit = /* fish */ ''
# Vi Mode # Vi Mode
fish_vi_key_bindings fish_vi_key_bindings
@ -62,7 +62,7 @@ in
end end
abbr --add dotdot --regex '^\.\.+$' --function multicd 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 function editor_edit
echo $EDITOR $argv echo $EDITOR $argv