about summary refs log tree commit diff stats
path: root/core/conf/skel/.bashrc
diff options
context:
space:
mode:
authorSilvino Silva <silvino@bk.ru>2019-03-18 21:44:34 +0000
committerSilvino Silva <silvino@bk.ru>2019-03-19 02:30:35 +0000
commit25dc2312b8a023b49f0d085181c71ff2a8a4e692 (patch)
treebbec549f9d0f62a25e00dcd807f7d18529f4b922 /core/conf/skel/.bashrc
parente67aefadd153bf622f56442c4e79df4704723616 (diff)
downloaddoc-25dc2312b8a023b49f0d085181c71ff2a8a4e692.tar.gz
git documentation revision
fix core conf ports
Diffstat (limited to 'core/conf/skel/.bashrc')
-rw-r--r--core/conf/skel/.bashrc19
1 files changed, 16 insertions, 3 deletions
diff --git a/core/conf/skel/.bashrc b/core/conf/skel/.bashrc
index 9a7498e..88cf24c 100644
--- a/core/conf/skel/.bashrc
+++ b/core/conf/skel/.bashrc
@@ -29,6 +29,7 @@ alias mv='mv -i'
 alias mkdir='mkdir -p'
 
 alias h='history'
+alias hg='history | grep'
 alias j='jobs -l'
 alias which='type -a'
 alias ..='cd ..'
@@ -40,13 +41,25 @@ genpasswd () {
     tr -dc A-Za-z0-9_ < /dev/urandom | head -c ${l} | xargs
 }
 
-# Git graph log
+# Git log
 glog () {
+    git log --stat --decorate
+}
+# Git graph log
+gloga () {
     git log --graph --abbrev-commit --decorate --date=relative --all
 }
 
+alias tmux="tmux -2"
+
+# Virtual Crux machine
+alias c1.ank="ssh c1.ank -t tmux a"
+alias c2.ank="ssh c2.ank -t tmux a"
+alias c9.ank="ssh c9.ank -t tmux a"
+
+alias pkg_mirror="pkg_bin -f /usr/ports/mirror_bin_db"
+alias pkg_update="pkg_bin -r /usr/ports/mirror_bin_db"
 
-#alias tmux="tmux -2"
 #if [[ -z "$TMUX" ]] ;then
 #    ID="`tmux ls | grep -vm1 attached | cut -d: -f1`" # get the id of a deattached session
 #    if [[ -z "$ID" ]] ;then # if not available create a new one
@@ -55,4 +68,4 @@ glog () {
 #        tmux attach-session -t "$ID" # if available attach to it
 #    fi
 #fi
-#
+MAIL=/home/silvino/.mail/