From b74474aa178da8c4de8f43095694e660879a0fca Mon Sep 17 00:00:00 2001 From: Austen Adler Date: Thu, 21 Apr 2016 14:09:55 -0400 Subject: [PATCH] Minor changes, added s command --- git/gitconfig | 3 +++ shells/zshrc | 6 +++--- 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/git/gitconfig b/git/gitconfig index 4a7335b..faf068a 100644 --- a/git/gitconfig +++ b/git/gitconfig @@ -39,3 +39,6 @@ helper = cache [color] ui = auto +[gui] + recentrepo = /home/stonewareslord/git/sync + recentrepo = /home/stonewareslord/git/school/service-garage diff --git a/shells/zshrc b/shells/zshrc index 95e6a1c..a1b23f8 100644 --- a/shells/zshrc +++ b/shells/zshrc @@ -205,7 +205,9 @@ alias -s log="less -MN" alias -s odt="libreoffice" alias -s doc="libreoffice" alias -s docx="libreoffice" -alias -g PASTE='2>&1 |curl --data-urlencode text@- https://austenwares.com/paste/api/create' +alias -g PA='2>&1 | paste' +alias s='sudo -Hu' +alias sudo='sudo -H' paste() { NAME="" if [[ ! -z "$1" ]]; then @@ -215,11 +217,9 @@ paste() { } alias -g c='rsync --partial -ha --info=progress2 "$@"' alias -g cfat='rsync --partial -hrlc --info=progress2 "$@"' -alias -g F='`fzf --no-mouse -m -1 -x`' alias -g nify=" > /dev/null 2>&1 &" alias -g nifyd=" > /dev/null 2>&1 & disown" alias -g L="2>&1|less" -#alias -g L="2>&1|vimpager" alias -g G='|& ag' export FZF_COMPLETION_OPTS='--no-mouse -m -1 -x' bp(){