diff options
author | David Morgan <david.morgan@dionglobal.com> | 2016-04-15 06:56:29 +0100 |
---|---|---|
committer | David Morgan <david.morgan@dionglobal.com> | 2016-04-15 06:56:29 +0100 |
commit | ade306101be402e39d4b69cf2088fdf63d95fd02 (patch) | |
tree | 6b299a957be15323ebc19c25f6b3be62d0b1618c | |
parent | 1caeaff967a7576c92434ee4f1524f3630de0e30 (diff) | |
download | dotfiles-ade306101be402e39d4b69cf2088fdf63d95fd02.tar.gz |
Use less -RXF for viewing output of some commands, + aliases
-rw-r--r-- | .bashrc | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/.bashrc b/.bashrc index 75246bb..83028f5 100644 --- a/.bashrc +++ b/.bashrc @@ -325,7 +325,7 @@ xspeak() function ag_less() { - ag --color "${@}"|less -r + ag --color "${@}"|less -RXF } function java_run() @@ -365,6 +365,9 @@ alias hadd='run_cmd $(history -p ^diff^add)' alias dogs='run_cmd docker ps; run_cmd docker logs -f $(docker ps|sed 1d|awk '"'"'{print $1;}'"'"')' alias undock='sudo umount `mount|grep -o "/var/lib/docker/aufs/mnt/[a-z0-9]*"`' #alias gp="chdir ${VIEW_DIR} ; run_cmd git pull ; chdir" +#alias gs="chdir ${VIEW_DIR} ; run_cmd git stash ; chdir" +#alias gsp="chdir ${VIEW_DIR} ; run_cmd git stash pop ; chdir" +#alias gstat="chdir ${VIEW_DIR} ; run_cmd git -c color.status=always status | less -RXF ; chdir" function esvapi() |