Skip to content

Commit

Permalink
adding my mac alias
Browse files Browse the repository at this point in the history
  • Loading branch information
David Wertenteil committed Jul 9, 2023
1 parent fd021f2 commit e20a81a
Showing 1 changed file with 33 additions and 0 deletions.
33 changes: 33 additions & 0 deletions mac_aliases
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
## get rid of command not found ##
alias cd..='cd ..'

## a quick way to get out of current directory ##
alias ..='cd ..'
alias .1='cd ..'
alias ...='cd ../../../'
alias .2='cd ../../../'
alias ....='cd ../../../../'
alias .3='cd ../../../../'
alias .....='cd ../../../../'
alias .4='cd ../../../../'

## Use a long listing format ##
alias ll='ls -la --color=auto -h'
alias ls='ls -la --color=auto -h'
alias df='df -H'
alias du='du -ch'

## 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'

## Start calculator with math support
alias bc='bc -l'

## Create parent directories on demand
alias mkdir='mkdir -pv'

## Colorize diff output
# // install colordiff package
alias diff='colordiff'

0 comments on commit e20a81a

Please sign in to comment.