summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPavel Egorov <[email protected]>2026-03-31 01:56:08 +0300
committerPavel Egorov <[email protected]>2026-03-31 01:56:08 +0300
commit37aa47bf6751592da79753a6ff1aab17ef1c9fec (patch)
tree877569b5fed4101d1ca653bf9cf82aa4ce63dd23
parent88eb9fb3dbda22e1ce4cf1a2ac7317f0e941f783 (diff)
downloaddotfiles-37aa47bf6751592da79753a6ff1aab17ef1c9fec.tar.gz
dotfiles-37aa47bf6751592da79753a6ff1aab17ef1c9fec.zip
[fish] add git config abbreviations
-rw-r--r--.config/fish/conf.d/abbr.fish2
-rw-r--r--.config/git/config2
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
5abbr --add gs "git status" 5abbr --add gs "git status"
6abbr --add ga "git add" 6abbr --add ga "git add"
7abbr --add gco "git checkout" 7abbr --add gco "git checkout"
8abbr --add gl "git log"
9abbr --add gpl "git prettylog"
8 10
9# Added proxy flags 11# Added proxy flags
10if type -q sslocal 12if 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/"