commit 5895beb43eb4a43e9abae9b1bc45aa2253ba7c1d
parent dede990f1a9d50105dd4dd8369850180f798b64e
Author: jacob@thinkpad <jacobouno@protonmail.com>
Date: Thu, 23 Apr 2020 15:11:19 -0700
add 1 char for vim and nvim (n and v respectivly) and some other random ones
gf: search git repository for everything limited by regex (effectively list all repositories matching regex, I do not sort my git server well)
change m = md to k = md
Diffstat:
1 file changed, 9 insertions(+), 2 deletions(-)
diff --git a/aliases/.aliases b/aliases/.aliases
@@ -21,7 +21,6 @@ alias glava="glava &"
# rename
alias meta="exiftool"
-alias vim="nvim"
alias gwg='xdotool getwindowgeometry "$(xdotool getactivewindow)"'
@@ -32,7 +31,9 @@ alias pa="pacman"
alias nv="nvim"
alias l="$PAGER"
alias s="doas -u $USER -- "
-alias m="md"
+alias k="md"
+alias n="nvim"
+alias v="vim"
# git
@@ -48,6 +49,7 @@ alias gr="git remote"
alias rs="cd ~/own/projects/rust-learning/"
alias logs="cd ~/own/text/logs/"
alias s="cd ~/src/suckless/"
+alias cn="cd $NOTES"
# extention
@@ -177,6 +179,11 @@ re() {
fi
}
+# list repositories on git server
+gf() {
+ ssh git ls | grep "$@"
+}
+
# vim filetype=sh