Last active
February 22, 2016 06:39
-
-
Save mapsi/8182399 to your computer and use it in GitHub Desktop.
My .bashrc for Mac OSX 10.9.1
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
## Colorize the ls output ## | |
alias ls='ls -G' | |
## Use a long listing format ## | |
alias ll='ls -la' | |
## Show hidden files ## | |
alias l.='ls -d .*' | |
## Colorize the grep command output for ease of use (good for log files)## | |
alias grep='grep --color=auto' | |
alias egrep='egrep --color=auto' | |
alias fgrep='fgrep --color=auto' | |
# Make mount command output pretty and human readable format | |
alias mount='mount |column -t' | |
# Time functions | |
alias nowtime='date +"%T"' | |
alias nowdate='date +"%d-%m-%Y"' | |
alias now='nowtime && nowdate' | |
# Vim stuff | |
alias vi=vim | |
alias svi='sudo vi' | |
# Airport controls the wireless adapter | |
alias airport=/System/Library/PrivateFrameworks/Apple80211.framework/Versions/Current/Resources/airport | |
# Resume wget by default | |
alias wget='wget -c' | |
# visual tree | |
alias filetree="ls -R | grep ":$" | sed -e 's/:$//' -e 's/[^-][^\/]*\//--/g' -e 's/^/ /' -e 's/-/|/'" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment