From e823bf15e104885fe669a7d8950654eac8ee5d9a Mon Sep 17 00:00:00 2001 From: Jonathan Hodgson Date: Fri, 16 Jun 2017 10:08:01 +0100 Subject: [PATCH] Tweak bashrc --- bashrc | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/bashrc b/bashrc index d8b7f993..f967d2fe 100644 --- a/bashrc +++ b/bashrc @@ -88,9 +88,10 @@ alias cd="cdls" alias folder-perms='find . -type d -not -path "./.git/*" -not -path "./.git" -exec chmod 775 {} \;' alias file-perms='find . -type f -not -path "./.git/*" -not -path "./.git" -exec chmod 664 {} \;' alias wp-perms='folder-perms; file-perms' - -# Make ls add Indicators to file names and colour the output -alias ls='ls -F --color=always' +alias magentoPerms='cd ${PWD%/public_html*}/public_html;sudo chown -R jonathan:http .; folder-perms; file-perms; chmod +x bin/magento; cd -' + # +# Make ls add Indicator#s to file names and colour the output +alias ls='ls -F --color=auto' # Make tree add indicators and color alias tree='tree -F -C' @@ -132,7 +133,7 @@ alias pull='git pull ' alias bb='git open' # Always make grep ouput color -alias grep="grep --color=always" +alias grep="grep --color=auto" # Shortcuts to sites folder alias sites="cd ~/Sites" @@ -194,6 +195,7 @@ alias bs="curl -s http://cbsg.sourceforge.net/cgi-bin/live | grep -Eo '^
  • .* /dev/null| \jq ".img" | xargs feh' #Old ps1