My Fish shell tweak of the morning:
abbr --add checkout --command git "switch -c"
Now when I type “git checkout”, it replaces that with “git switch -c”, which is what I really meant 90% of the time: switch to a new branch.
Extracting chaos from order
My Fish shell tweak of the morning:
abbr --add checkout --command git "switch -c"
Now when I type “git checkout”, it replaces that with “git switch -c”, which is what I really meant 90% of the time: switch to a new branch.