Skip to content

Commit

Permalink
unify (a little bit) the single-letter command aliases
Browse files Browse the repository at this point in the history
  • Loading branch information
jakebman committed Jan 26, 2024
1 parent 95aa5a7 commit feb322a
Showing 1 changed file with 11 additions and 4 deletions.
15 changes: 11 additions & 4 deletions aliases/available/jake-aliases.aliases.bash
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,17 @@ alias watch='watch --differences=permanent'
# Sometimes I use this name for the command rather than its normal name. Oops.
alias maven=mvn

# Single-letter/alphabetical shortcut alaises. Formatting to match comments
alias b=browse
# alias d=diff # currently in jake-typos.aliases.bash because it was a typo first
# alias f=fidget # defined in custom/jake.bash
alias g=git
# alias m=mr # typo
# alias p=pull # typo
# alias q="echo no need to quit - you are already out"
alias s=status-or-show # defined below, but fine to alias here
# alias u=pull # typo; actually for 'up', but shortcutting
# alias v=vim # typo

# ll, plus other flags
alias lla='ll -a'
Expand Down Expand Up @@ -79,7 +90,6 @@ function status-or-show {
git status "$@"
fi
}
alias s=status-or-show

function _jake-banner-display {
about "display a banner, but don't care if it fails"
Expand Down Expand Up @@ -242,9 +252,6 @@ alias staged='git diff --staged'
alias addp='git add --patch'
alias autostash='git pull --rebase --autostash' # I ususally mean rebase as well as autostash

# shorthand command
alias s=status-or-show

# 'Not exactly duplicating' aliases
# Not all of these are duplicating a git alias, but they're not exactly typos either
# They exist to make my CLI invocations easier, and would be more properly considered
Expand Down

0 comments on commit feb322a

Please sign in to comment.