]> Sergey Matveev's repositories - dotfiles.git/commitdiff
Split zsh configuration on corresponding sections
authorSergey Matveev <stargrave@stargrave.org>
Wed, 2 Nov 2022 11:19:55 +0000 (14:19 +0300)
committerSergey Matveev <stargrave@stargrave.org>
Wed, 2 Nov 2022 11:19:55 +0000 (14:19 +0300)
20 files changed:
git/.zsh/functions/Gam [moved from zsh/.zsh/functions/Gam with 100% similarity]
git/.zsh/functions/Gbr [moved from zsh/.zsh/functions/Gbr with 100% similarity]
git/.zsh/functions/Gg [moved from zsh/.zsh/functions/Gg with 100% similarity]
git/.zsh/functions/Gm [moved from zsh/.zsh/functions/Gm with 100% similarity]
git/.zsh/functions/Gr [moved from zsh/.zsh/functions/Gr with 100% similarity]
git/.zsh/rc/010git.zsh [moved from zsh/.zsh/rc/010git.zsh with 80% similarity]
git/.zsh/rc/010vcs.zsh [moved from zsh/.zsh/rc/010vcs.zsh with 100% similarity]
gnupg/.zsh/rc/010gpg.zsh [new file with mode: 0644]
less/.lesskey [moved from zsh/.lesskey with 100% similarity]
less/.zsh/env/005less.zsh [moved from zsh/.zsh/env/005less.zsh with 100% similarity]
less/.zsh/rc/010less.zsh [new file with mode: 0644]
lynx/.zsh/env/005lynx.zsh [moved from zsh/.zsh/env/005lynx.zsh with 100% similarity]
mc/.zsh/rc/025mc.zsh [moved from zsh/.zsh/rc/025mc.zsh with 100% similarity]
mutt/.zsh/rc/010mail.zsh [moved from zsh/.zsh/rc/010mail.zsh with 100% similarity]
recoll/.zsh/env/005recoll.zsh [moved from zsh/.zsh/env/005recoll.zsh with 100% similarity]
ssh/.zsh/functions/ssht [moved from zsh/.zsh/functions/ssht with 100% similarity]
ssh/.zsh/rc/010ssh.zsh [moved from zsh/.zsh/rc/010ssh.zsh with 100% similarity]
zsh/.zsh/rc/010aliases.zsh
zsh/.zsh/rc/010gpg.zsh [deleted file]
zsh/.zsh/rc/010grep.zsh [deleted file]

similarity index 100%
rename from zsh/.zsh/functions/Gg
rename to git/.zsh/functions/Gg
similarity index 100%
rename from zsh/.zsh/functions/Gm
rename to git/.zsh/functions/Gm
similarity index 100%
rename from zsh/.zsh/functions/Gr
rename to git/.zsh/functions/Gr
similarity index 80%
rename from zsh/.zsh/rc/010git.zsh
rename to git/.zsh/rc/010git.zsh
index eed04e4acfa7dfd2d1813489cffcdb25d20a6b3e..935a17b8552d1d07c8e7fca79832c38355b82f72 100644 (file)
@@ -3,8 +3,10 @@ alias Gb="git branch"
 alias Gc="git checkout"
 alias Gd="git diff"
 alias Gdc="git diff --cached"
-alias Gs="git show --show-signature"
+alias gg="git grep "
+alias ggj="GIT_EDITOR=\"$EDITOR -c copen\" git jump grep "
 alias Gl="git log --oneline --graph --decorate=short"
 alias Gld="git log --format=format:'%ai %Cgreen%h%Creset %s'"
 alias Gp="git log --patch"
+alias Gs="git show --show-signature"
 bindkey -s "\eOR" " git status --short\n" # F3
diff --git a/gnupg/.zsh/rc/010gpg.zsh b/gnupg/.zsh/rc/010gpg.zsh
new file mode 100644 (file)
index 0000000..8414481
--- /dev/null
@@ -0,0 +1,2 @@
+export GPG_TTY=$(tty)
+alias gpgkr="gpg --no-default-keyring --keyring "
similarity index 100%
rename from zsh/.lesskey
rename to less/.lesskey
diff --git a/less/.zsh/rc/010less.zsh b/less/.zsh/rc/010less.zsh
new file mode 100644 (file)
index 0000000..cc0e1f4
--- /dev/null
@@ -0,0 +1,2 @@
+alias -g M="| less"
+alias m="less "
similarity index 100%
rename from zsh/.zsh/rc/025mc.zsh
rename to mc/.zsh/rc/025mc.zsh
index 0180fcf50a5f67c7d02732dab5ae9cbad526db08..654efd929b3ca43eda4eb9e75d531a66927bae51 100644 (file)
@@ -1,13 +1,11 @@
-alias l="ls -AF, "
-alias ll="ls -D \"%Y-%m-%d %H:%M\" -AFl, "
-alias vi="vim"
-alias m="less "
-alias -g M="| less"
-alias -g W="| wc -l | sed 's/ //g'"
-alias -g T="| tai64nlocal"
-alias -g DN=">/dev/null"
 alias -g 2DN="2>/dev/null"
+alias -g DN=">/dev/null"
 alias -g DNA=">&/dev/null"
+alias -g G="| grep --colour=always"
+alias -g T="| tai64nlocal"
 alias -g TO="2>&1"
+alias -g W="| wc -l | sed 's/ //g'"
+alias l="ls -AF, "
+alias ll="ls -D \"%Y-%m-%d %H:%M\" -AFl, "
 alias mc="mc --nomouse"
-alias gpgkr="gpg --no-default-keyring --keyring "
+alias vi="vim"
diff --git a/zsh/.zsh/rc/010gpg.zsh b/zsh/.zsh/rc/010gpg.zsh
deleted file mode 100644 (file)
index 9b7b42d..0000000
+++ /dev/null
@@ -1 +0,0 @@
-export GPG_TTY=$(tty)
diff --git a/zsh/.zsh/rc/010grep.zsh b/zsh/.zsh/rc/010grep.zsh
deleted file mode 100644 (file)
index d14c1ff..0000000
+++ /dev/null
@@ -1,3 +0,0 @@
-alias -g G="| grep --colour=always"
-alias gg="git grep "
-alias ggj="GIT_EDITOR=\"$EDITOR -c copen\" git jump grep "