diff options
| author | Pavel Egorov <[email protected]> | 2026-03-31 01:56:08 +0300 |
|---|---|---|
| committer | Pavel Egorov <[email protected]> | 2026-03-31 01:56:08 +0300 |
| commit | 37aa47bf6751592da79753a6ff1aab17ef1c9fec (patch) | |
| tree | 877569b5fed4101d1ca653bf9cf82aa4ce63dd23 /.config | |
| parent | 88eb9fb3dbda22e1ce4cf1a2ac7317f0e941f783 (diff) | |
| download | dotfiles-37aa47bf6751592da79753a6ff1aab17ef1c9fec.tar.gz dotfiles-37aa47bf6751592da79753a6ff1aab17ef1c9fec.zip | |
[fish] add git config abbreviations
Diffstat (limited to '')
| -rw-r--r-- | .config/fish/conf.d/abbr.fish | 2 | ||||
| -rw-r--r-- | .config/git/config | 2 |
2 files changed, 4 insertions, 0 deletions
diff --git a/.config/fish/conf.d/abbr.fish b/.config/fish/conf.d/abbr.fish index 0777944..5106ad1 100644 --- a/.config/fish/conf.d/abbr.fish +++ b/.config/fish/conf.d/abbr.fish | |||
| @@ -5,6 +5,8 @@ abbr --add dotfiles "git --git-dir=\"$HOME/.config/dotfiles/\" --work-tree=\"$HO | |||
| 5 | abbr --add gs "git status" | 5 | abbr --add gs "git status" |
| 6 | abbr --add ga "git add" | 6 | abbr --add ga "git add" |
| 7 | abbr --add gco "git checkout" | 7 | abbr --add gco "git checkout" |
| 8 | abbr --add gl "git log" | ||
| 9 | abbr --add gpl "git prettylog" | ||
| 8 | 10 | ||
| 9 | # Added proxy flags | 11 | # Added proxy flags |
| 10 | if type -q sslocal | 12 | if type -q sslocal |
diff --git a/.config/git/config b/.config/git/config index 347b3a4..dcba2b9 100644 --- a/.config/git/config +++ b/.config/git/config | |||
| @@ -42,6 +42,8 @@ | |||
| 42 | required = true | 42 | required = true |
| 43 | clean = git-lfs clean -- %f | 43 | clean = git-lfs clean -- %f |
| 44 | smudge = git-lfs smudge -- %f | 44 | smudge = git-lfs smudge -- %f |
| 45 | [alias] | ||
| 46 | prettylog = log --all --oneline --graph --date human | ||
| 45 | [url "[email protected]:"] | 47 | [url "[email protected]:"] |
| 46 | insteadOf = "gh:" | 48 | insteadOf = "gh:" |
| 47 | pushInsteadOf = "https://github.com/" | 49 | pushInsteadOf = "https://github.com/" |
