Tweak bashrc
This commit is contained in:
parent
22e2082c0c
commit
e1e101f1fa
1 changed files with 6 additions and 4 deletions
10
bashrc
10
bashrc
|
@ -88,9 +88,10 @@ alias cd="cdls"
|
||||||
alias folder-perms='find . -type d -not -path "./.git/*" -not -path "./.git" -exec chmod 775 {} \;'
|
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 file-perms='find . -type f -not -path "./.git/*" -not -path "./.git" -exec chmod 664 {} \;'
|
||||||
alias wp-perms='folder-perms; file-perms'
|
alias wp-perms='folder-perms; file-perms'
|
||||||
|
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 Indicators to file names and colour the output
|
#
|
||||||
alias ls='ls -F --color=always'
|
# Make ls add Indicator#s to file names and colour the output
|
||||||
|
alias ls='ls -F --color=auto'
|
||||||
|
|
||||||
# Make tree add indicators and color
|
# Make tree add indicators and color
|
||||||
alias tree='tree -F -C'
|
alias tree='tree -F -C'
|
||||||
|
@ -132,7 +133,7 @@ alias pull='git pull '
|
||||||
alias bb='git open'
|
alias bb='git open'
|
||||||
|
|
||||||
# Always make grep ouput color
|
# Always make grep ouput color
|
||||||
alias grep="grep --color=always"
|
alias grep="grep --color=auto"
|
||||||
|
|
||||||
# Shortcuts to sites folder
|
# Shortcuts to sites folder
|
||||||
alias sites="cd ~/Sites"
|
alias sites="cd ~/Sites"
|
||||||
|
@ -194,6 +195,7 @@ alias bs="curl -s http://cbsg.sourceforge.net/cgi-bin/live | grep -Eo '^<li>.*</
|
||||||
|
|
||||||
alias jq="jq -C"
|
alias jq="jq -C"
|
||||||
|
|
||||||
|
|
||||||
#alias xkcd='curl https://xkcd.com/info.0.json 2> /dev/null| \jq ".img" | xargs feh'
|
#alias xkcd='curl https://xkcd.com/info.0.json 2> /dev/null| \jq ".img" | xargs feh'
|
||||||
|
|
||||||
#Old ps1
|
#Old ps1
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue